prompt,questions Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. State the syntax of the switch statement. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the output for the following code. char a[20]=""Program""; printf(""Length of string a = %d \n"",strlen(a)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Describe the phases of the software development life cycle (SDLC). CO1 U 3 12. Discuss the order of precedence in C and predict the output of the program. #include int main() { float s=100, u=10, t=4, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find whether a number is positive or negative. CO3 A 3 14. Explain the Bubble Sort algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 customer names and phone numbers using structures. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4 b. Draw a flowchart to find the area of the square by getting the value from the user. Convert the flow chart into an algorithm and develop the program for the same. CO1 U 8 18. a. Explain the logical operators with sample code. CO2 U 5 b. Write a C program to find the simple interest at the interest rate of 14% p.a. and 11% p.a. and find their difference. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between a while loop and a for a loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate the Fibonacci series. CO4 A 6 21. a. Describe structures in the C program and explain how the structure variables are declared and initialized. CO6 U 6 b. Using functions, write a C program to find the even numbers from an integer array. CO5 A 6 22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by address (pointers or reference) method. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for linear search to search for the number 9 from the given set of numbers 10, 30, 5, 20, 9, 8, and also illustrate the various steps. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data June 2011,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination - June 2011 Subject Title: C# PROGRAMMING Time: 3 hours Subject Code: CS255 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. What is called Reference Type? 2. What is the use of finally block in C#? 3. To override a method in a base class with the same signature, that base class method must be declared________. a. Virtual or abstract b. Void c. Static d. None of the above. 4. How to retrieve the element form the ArrayList using foreach statement? 5. What is the default event of a Button control? 6. What is the usage of Ad rotators control? 7. Write any two Data Adapters. 8. What is the use of sqlDataReader class? 9. What are in the assembly? 10. What is SOAP? PART – B (5 x 3 = 15 MARKS) 11. What is the use of the string Insert method? 12. What is called sealed class? 13. How can you display items in multiple columns in a list box? 14. What is called Data Binding? List out the different types. 15. What is called shared assembly? PART – C (5 x 15 = 75 MARKS) 16. What is called Custom exception? How to create Custom exception? Give an example. (OR) 17. a. Explain briefly about the various access modifiers. (8) b. What is called Regular Expression? Give an example. (7) 18. How to create an Interface? Explain with suitable example. (OR) 19. Explain briefly about the Hash table with suitable example. 20. a. How to create multi window applications? Explain briefly. (8) b. Write notes on TrackBars with suitable example. (7) (OR) 21. What are called Validation server controls? Explain briefly. 22. What is Complex Data Binding? Explain with example. (OR) 23. Write ADO.NET Program to connect and retrieve data from data source using the .NET Framework Data Provider? [P.T.O] 24. How to synchronize threads using a monitor? Explain with example. (OR) 25. Discuss the security issues in C#.net with example?" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination –April / May - 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Expand SDLC. CO1 1 2. Give the number of bytes reserved for a float variable. CO2 1 3. State whether the following condition will evaluate to True or False. if ( (3<4)&& (5>10) ) CO1 1 4. __________ loop is called as exit controlled loop. CO3 1 5. Give the string handling function used to concatenate two strings. CO4 1 6. A function can be defined within another function. State True or False. CO4 1 7. The concept of function calling itself is called as______________. CO4 1 8. List any two unary operators. CO1 1 9. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO5 1 PART B (6 X 3= 18 MARKS) 11. Describe any two input and output functions with syntax and example. CO1 3 12. List the operator precedence rules used in C programming language. CO1 3 13. Write a C program to check whether the given number is odd or even. CO3 3 14. Write a C program to find the greatest of the given three numbers. CO5 3 15. Differentiate actual and formal arguments in functions with an example. CO4 3 16. Define pointer with an example. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.No 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Develop a C program which accepts the principal (P), rate of interest(I) and number of years (N) of loan as input and print the simple interest(SI) as output (SI = (P*N*I) / 100). CO6 6 18. a. Explain the relational and logical operators in C with examples. CO2 6 b. Write a C program using conditional operator which accepts the age of a person and prints whether the person is eligible to vote or not. CO6 3 c. Evaluate and write the results of the following expressions. i. 3 + 5 + (3 - 2) ii. (3 + 5) + 3 * 2 iii. (5 / 3) + 3 + 2 CO2 3 19. a. Develop a C program to check whether a given number is Armstrong or not using while loop structure. CO3 6 b. Differentiate break and continue statements with suitable examples. CO3 6 20. a. Explain the bubble sort algorithm with an example. CO5 6 b. Write a C program to find the sum of elements in an integer array. CO5 6 21. a. Write a C program to generate Fibonacci series using function. CO4 6 b. Explain recursive functions in C with an example code. CO4 6 22. a. Discuss the main four components of a computer with suitable diagram. CO1 8 b. Differentiate call by value and call by reference. CO1 4 23. a. Discuss the various datatypes in C with their keyword and memory size. CO2 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. Develop an application in C using structures to maintain and display the n student records(record includes the student name, register number, place and percentage of marks). CO5 12" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"1 Scheme – I Sample Question Paper Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs. Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any Five of the following 10 Marks A. Explain with suitable example, syntax of for loop in C++. B. Explain concept of abstract class. C. State the use of scope resolution operator and its use in C++. D. State use of new operator. E. List and explain use of any four file mode parameters F. Explain use of friend function with the help of suitable example. G. Write a C++ program to swap two numbers using pointer Q.2 Attempt any Three of the following 12 Marks A. Write a C++ program that replaces the string “Computer” in the String “Diploma in Computer Engineering” with string “Information Technology”. B. Define classes to appropriately represent class hierarchy as shown in above figure. Use constructors for both classes and display Salary for a particular employee. C. Define a class named ‘Train’ representing following members: Data members :- - Train Number 22316 Employee Employee Name, Employee ID Getdata(), Putdata() Salary : Private derived from Employee Basic Pay, HRA, DA, CLA Calculate Salary() D Q.3 A A B C D Q.4 A A B C M Write a D. State a overrid Attempt an A. Write a functio B. Write a C. Answe a. b. D. State r Attempt an A. A hi cl in B. Write is 345 C. Write a - Train N - Source - Destin - Journe - Capaci Member fun - Initiali - Input T - Display a C++ prog any four poi ding. ny Three of a C++ prog on. a program t er following Define con Give reason ules of oper ny Three of An education ierarchical r lasses to rep nformation a a C++ prog 521 , output a C++ prog Name e ation ey Date ity nctions: ise members Train data y data gram to test ints of differ f the follow gram to calc to count no g : ncept of virt n for assignin rator overlo f the follow nal institutio relationship present abov as and when gram that di expected is gram to add s the train cla rentiation b wing ulate sum o of occurren tual base cl ng protected oading. wing on wishes to ps of related ve hierarchy n required. isplays a de s 12543) two comple ass. between fun of distance a nce of partic ass. d visibility sp o maintain a d classes are y and define ecimal numb ex numbers nction overlo and display cular charac pecifier to a c a data of its e as shown i e functions t ber in rever overloadin oading and 12 the results u cter in text class member 12 employees in figure. De to retrieve i se order.(Ex ng “+”opera 2 function 2 Marks using friend file r. 2 Marks . The efine all the individual x. If numbe ator d e er 3 D. Write a program to copy contents of ABC.txt to XYZ.txt E. Write a C++ program to display number of objects created using static member. Q.5 Attempt any Two of the following 12 Marks A. 1. State any four points of differentiation between compile time polymorphism and run time polymorphism B. i) Write a program that will create data file containing the list of telephone numbers as: John 34567 Hari 56788 …… Use a class object to store each set of data. C. Define a class named ‘Bank Account’ to represent following members: Data members :- - Account Number - Name of Depositor - Account Type - Balance Amount Member functions: - Initialize members - Deposit Amount - Withdraw Amount - Display Balance Write a C++ program to test the Bank Account class for 10 customers. Q.6 Attempt any Two of the following 12 Marks A. Give syntax of and explain various functions related to ifstream and ofstream classes: seekp(), getline(),hide(),tail() B. Fix the compilation errors and find the output of following program #include class Test { private: int x; public: Test(int x = 0) { this->x = x; } void change(Test *t) { this = t; } void print() { cout << ""x = "" << x << endl; } }; void main() { Test obj(5); Test *ptr = new Test (10); obj.change(ptr); obj.print(); } 4 C. A program uses a function named convert() in addition to its main function. The function main() declares the variable x within its body and the function convert declares two variables y and z within its body, z is made static. A fourth variable m is declared ahead(ie at top) of both the functions. State the visibility and lifetime of each of these variables. 5 Scheme – I Sample Test Paper – I (40% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) Differentiate between do..while and while loops on the basis of syntax. b) Explain syntax of any two String functions. c) Explain working of insertion and extraction operators in C++ with the help of suitable example. d) State the use of static data member of a class. e) Describe various places at which member functions can defined using suitable example. f) Write a C++ program that displays first 10 odd numbers. Q.2 Attempt any THREE of the following 12 Marks a) Define a structure that represents Fruit with properties fruit name, fruit type, fruit color. Write a program that accepts data of four fruits and displays the results. b) Write a C++ program to calculate root of quadratic equations by initializing the object using default constructor. c) Explain use of friend function with the help of suitable example. d) Explain different access specifiers used in C++. 22316 6 Scheme – I Sample Test Paper – II (60% of 5-Unit curriculum and 50% of 6-Unit curriculum) Program Name : Computer Engineering Program Group Program Code : CO/CM/IF/CW Semester : Third Course Title : Object Oriented Programming using C++ Max. Marks : 20 Time: 1 Hour Instructions: (1) All questions are compulsory. (2) Illustrate your answers with sketches wherever necessary. (3) Figures to the right indicate full marks. (4) Assume suitable data if necessary. (5) Preferably, write the answers in sequential order Q.1 Attempt any FOUR of the following 8 Marks a) State any two forms of inheritance.Give an example of each. b) Define concept of virtual base class. c) State any one use of this pointer with suitable example. d) State rules for virtual function. e) List and explain use of any four file mode parameters f) Draw hierarchy of stream classes for file operations. Q.2 Attempt any THREE of the following 12 Marks a. i) Demonstrate hybrid inheritance with the help of suitable example. ii)State the reason for making a class virtual with the help of example 22316 7 b. Correct the syntactical and logical errors in the following and explain program: class test { Private: int m; public: void getdata() { cout<<”Enter No:”; cin>> m; } void display() { cout<getdata(); T->display(); test *p; p=new test; p.getdata(); (*p).display(); } c. Write a C++ program to overload area() function to calculate area of shapes like triangle ,square, circle. d. Write a program to copy contents of ABC.txt to XYZ.txt" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The ___________ header file contains mathematical functions. 2. C is a ___________level language. 3. What is a token? 4. Say true or false: All arithmetic operators have the same level of precedence. 5. Multi way selection can be accomplished using an elsif statement or the _________statement. 6. The parameters used in a function call are called __________parameters. 7. A variable declared inside a function by default assumes _________storage class. 8. What is a pointer? 9. A_________is a collection of data items under the name in which the items share the same storage. 10. The __________ mode is used for opening a file for updating. PART – B (5 x 3 = 15 MARKS) 11. Draw the block diagram of a computer and explain. 12. Give the syntax and purpose of gets( ) and puts( ) functions. 13. Differentiate between break and continue statement. 14. What are multidimensional arrays? Give an example. 15. What are self referential structures? PART – C (5 x 15 = 75 MARKS) 16. Discuss in detail about: a. Characteristics of computer. (7) b. Types of programming languages. (8) (OR) 17. Explain about the data types, constants and variables in C. 18. Describe about the various operators in C with examples. (OR) 19. Explain with syntax and example the input and output statements in C. 20. a. Explain the difference between while do and do while statements with an example. (7) b. Discuss about the branching statements in C with examples. (8) (OR) 21. a. With an example program, explaining the difference between call by value and call by reference. (7) b. What is recursion? Explain with an example. (8) [P.T.O] 22. What is a storage class? Describe about the types of storage classes in C. (OR) 23. a. Write a C program to print the numbers in ascending order using pointers. (7) b. Write a short note on array of pointers. (8) 24. a. What is a structure? Discuss about methods for initializing values to structure variables. (7) b. With an example, explain about passing structures to functions. (8) (OR) 25. Write a C program to read name and marks of ‘n’ number of students from a user and store them in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – April/ May - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Find out the value of ‘a’ after the execution of the statement: “a = 10 > 5 ?1 : 0;” 2. What is the output of the following program? #include main(){ int m, k=3; m=k/2; printf(“m=%d); } 3. What is the purpose of break statement? 4. Choose the appropriate answer: A do-while loop is useful when we want that the statements within the loop must be executed: a. Only once b. At least once c. At most once d. Only when the condition is true 5. Name the storage class used when global variables are referred inside a function. 6. What kind of value can be stored in a pointer variable? 7. Choose the appropriate answer: Array elements are always stored in a. Contiguous memory locations b. Non-contiguous memory locations c. Either of (a) or (b) 8. Name the string function in C to find the length of a string. 9. What is the purpose of the escape sequences \n and \b? 10. What operations are possible with the file opening mode “a+”? PART – B (5 x 3 = 15 MARKS) 11. Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. 12. Write a C program to find the maximum of three integer numbers. 13. Note down the features of register storage class. 14. Write a C program to compare whether two strings are equal or not. 15. Will the following program be executed without error? If error, what kind of error will it be? If executed successfully, what will be the output? Justify your answer. #include void main(){ float a = 6.35; printf(“(type casting) a=%d\n”, (int) a); printf(“a=%f”, a); } PART – C (5 x 15 = 75 MARKS) 16. a. Write down the different logical operators supported by C with their functions. (7+8) b. Write a C program to calculate the salary as per the following table using logical operator. [P.T .O] Gender Years of Service Qualifications Salary Male >= 10 Post- Graduate 15000 >= 10 Graduate 10000 <10 Post- Graduate 10000 <10 Graduate 7000 Female >= 10 Post- Graduate 12000 >= 10 Graduate 9000 <10 Post- Graduate 10000 <10 Graduate 6000 (OR) 17. a. Describe bitwise operators available in C. (10) b. Implement a C function to show the binary representation of a given integer using bitwise operators. (5) 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10) b. Write a C program to find the sum of first n natural numbers, where n is entered by the user. (5) (OR) 19. a. With syntax, write about switch..case statement. (8) b. Write a C program that asks a user an arithmetic operator('+', '', '*' or '/') and two operands and performs the corresponding calculation on the operands using switch…case. (7) 20. Explain functions. Also using the program for swapping the values of two variables, differentiate the general ways of sending the values of the arguments and the addresses of the arguments to the function. (OR) 21. a. Write a detailed note on C pointers with suitable examples. (10) b. Write a recursive function to find the factorial of a natural number n. (5) 22. a. Write a C program for the addition of two matrices. (10) b. Describe the concept of subtraction of one pointer from another with an example program. (5) (OR) 23. Demonstrate the following with suitable examples: a. Two-dimensional array of characters. (8) b. Array of pointers to strings. (7) 24. a. Describe enumerated data type and its use with an example. (8) b. Write a C program to get two filenames through command line and copy the content of one file to another file. (7) (OR) 25. a. Explain how the structure can be declared and the structure elements can be accessed. (8) b. Write a C program for the following specification: Create a structure (student) which contains name, roll and marks as its data member. Then, create an array of structure of 10 elements. Get data (name, roll and marks) for 10 elements from the user and store in an array of structures. Finally, display the data entered by user. (7)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Define C Instructions. 2. Write about Logical Operators. 3. Write about IF STATEMENT. 4. Define GOTO STATEMENT. 5. Write about Function in C. 6. Define Pointer notation. 7. Write about Array. 8. Define Pointers. 9. Write in detail of Enumerated Data Type. 10. Define Union. PART – B (5 x 3 = 15 MARKS) 11. What is a Conditional operator with examples? 12. Write down the Control Structure. 13. Define Recursion in detail. 14. Explain with example of String Functions. 15. Write about fclose(),args, and argv with examples. PART – C (5 x 15 = 75 MARKS) 16. Explain in detail about Getting Started with C. (OR) 17. Explain in detail about Data types Revisited and Types of Operators with examples. 18. Write in detail about Control Instruction and Decision Control Structure. (OR) 19. Explain nested if else, if else statement and loop control structure with example in detail. 20. Explain about Case control structure, Switch and Break Statement and goto Statement with examples. (OR) 21. Write with examples of a. Storage Classes in C. (5) b. Scope rule of Functions. (5) c. Calling Convention. (5) 22. Explain about Advanced Features of Functions in detail. (OR) 23. Explain with examples on a. Pointers and Array. (8) b. Library string functions. (7) 24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes. (OR) 25. Explain with examples on Array of Structures and Union of Structures." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"7. Explain data warehouse on Web. (OR) 8. Discuss issues related to large data warehouse and also provide mitigation plan. 9. Compulsory: Discuss various relational models used for data warehouse design with illustrations. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. __________ is an entity whose value remains fixed. 2. Operators having equal precedence are evaluated using __________ of operators. 3. A ________ statement takes the execution control out of the loop. 4. A ________ loop is used to ensure that the statements within the loop are executed at least once. 5. ________ are variables which hold addresses of other variables. 6. A function can be called either by value or by _________. 7. The array elements are always stored in __________ memory locations. 8. A ________ constant is a one-dimensional array of characters terminated by a null. 9. A ________ is usually used when we wish to store dissimilar data together. 10. State True or False. All I/O in C is done using standard library functions. PART – B (5 x 3 = 15 MARKS) 11. What are the rules for constructing variable names? 12. Differentiate between break and continue statements. 13. What is meant by recursion? What is its benefit? 14. With the syntax, explain the function of scanf( ) statement. 15. Distinguish structure from union. PART – C (5 x 15 = 75 MARKS) 16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result. b. Write a C program to obtain marks of five subjects for a student and find the average percentage of marks scored and display the result. (OR) 17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it. b. With a suitable example, explain the conditional operators. (OR) 19. Explain with suitable examples the while and do-while looping structure. 20. Write a C program using functions to evaluate the series: ..... !7 !5 !3 ) sin( 7 5 3                        x x x x x (OR) 21. What is a function? What are the ways by which a function can be called? Explain with a suitable example. 22. Write a program using pointers to find the smallest number in an array containing N integers. (OR) [P.T.O.] 23. a. Write a program using strings to read a sentence and do the following: i. Find the length of the sentence ii. Find the number of occurrences of vowels b. Explain with suitable example, the string functions – strcpy( ) and strcmp( ). 24. Write a function that compares two given dates. To store a date, use a structure that contains three members namely day, month and year. If the dates are equal the function should return 0, otherwise it should return 1. (OR) 25. Explain in detail about the Types of I/O with suitable example. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2015 Subject Title : DATABASE SYSTEMS Time : 3 hours Subject Code: 12CS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List some Applications of Database. 2. Define Physical Data Independence. 3. What is sub query? 4. A view relation v is said to be ___________if it depends on itself. 5. An _________ is an object that exists and is distinguishable from other objects. 6. Domain is the set of permitted values for each ____________. 7. A relational schema R is in first normal form if the domains of all attributes of R are ____________. 8. A decomposition is dependency preserving, if (F1  F2  …  Fn )+ = ____________. 9. In ____________ a record can be placed anywhere in the file where there is space. 10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________. PART – B (5 x 3 = 15 MARKS) 11. Define Instance and Schema. 12. Write short notes on Domain Types in SQL. 13. List Transaction Server Processes." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"END SEMESTER EXAMINATION – APRIL / MAY 2024 Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL M PART – A (10 X 1 = 10 MARKS) 1. State whether the following condition will evaluate to True or False. if ( (5<4) || (5>10) ) CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  int $main; CO1 R 1 3. Define an Algorithm. CO2 R 1 4. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 R 1 5. Identify the unconditional branching statement that terminates the execution of a loop. CO3 U 1 6. List all conditional control statements used in C CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of arr[1] from the below line of code int arr[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. Define recursion in C. CO5 R 1 10. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Define any three characteristics of computer. CO1 U 3 12. List the operator precedence rules used in C programming language. CO2 U 3 13. Write a simple program to find whether a number is a multiple of 2 or not. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. Develop an application in C programming to store 5 user names and CO6 A 3 addresses using structures. PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain the various parts of a C program along with its features. CO1 U 4 b. Write the algorithm to find the area of the rectangle by getting the value from the user and develop the program for the same. CO1 U 8 18. a. Explain the arithmetic operators with sample code. CO2 U 5 b. Write a C program to find the interest at the interest rate of 7% p.a. and 10% p.a. and compare. CO2 A 7 19. a. Develop a function to count the digits of a number and use it to check whether the given number is an Armstrong number or not. CO5 A 9 b. Differentiate between ‘if’ loop and ‘while’ loop. CO3 U 3 20. a. Define an array and explain the declaration of multidimensional arrays with an example. CO4 U 6 b. Write a C program to generate a geometric series using array. CO4 A 6 21. a. Discuss how the C structures are declared in detail with example. CO6 U 6 b. Using functions, write a C program to find the odd numbers from an integer array and print them. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Develop a C program to interchange two numbers using the call by reference method CO6 U 4 COMPULSORY QUESTION 24. a. Develop a C program to find the factorial of a given number using the recursion function. CO5 A 6 b. Write the C program for sorting an array of numbers given by the user in ascending and descending order. CO4 A 6 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions Course Outcome Bloom’s Level Marks PART – A (10 X 1 = 10 MARKS) 1. List the four basic data types. CO1 R 1 2. Name the input and output functions used in the C programs. CO1 R 1 3. Define identifiers. CO2 R 1 4. State some examples of the three integer constants listed below.  decimal  octal and  hexadecimal. CO2 R 1 5. Identify the unconditional branching statement that skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. List all conditional control statements used in C. CO3 R 1 7. Indicate the purpose of the return statement. CO4 U 1 8. Differentiate while and do-while control statements. CO4 U 1 9. Relate recursion in C. CO5 U 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. List the various types of hardware and software with examples. CO1 U 3 12. Predict the output of the program. #include int main() { float s=10, u=30, t=2, a; a = 2*(s-u*t); printf(""Result = %f"", a); return 0; } CO2 U 3 13. Write a simple program to find odd or even using a while loop. CO3 A 3 14. Explain the Linear search algorithm with an example. CO4 U 3 15. Describe a function. Explain the difference between user-defined and library functions. CO5 U 3 16. Develop an application in C to find the mean of all elements in an array using a pointer. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.No 17 to 23, Q.No 24 is Compulsory) 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 b. Draw a flowchart to find the area of a rectangle. Convert the flowchart into the algorithm and respective C program to find the area of a rectangle. CO1 U 7 18. a. Explain any four relational operators with sample code. CO2 U 5 b. Write a C program to find the smallest and largest of the given three numbers. CO2 A 7 19. a. Explain different aspects of function calling with an example. CO5 A 9 b. List the differences between a while loop and a do-while loop. CO3 U 3 20. a. Definean array and explain the declaration and initialization of one- dimensional and two-dimensional arrays with an example. CO4 U 6 b. Write a C program to find the sum of elements in an integer array. CO4 A 6 21. a. Describe a pointer. Explain how the pointer variable is declared and initialized. CO6 U 6 b. Write a C program to generate the Fibonacci series using function. CO5 A 6 22. a. Write a program in C to add two matrices of MXN order. CO4 A 8 b. List and explain the various string-handling functions in C. CO4 U 4 23. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 A 8 b. Compare and contrast Structures with Arrays. CO6 U 4 COMPULSORY QUESTION 24. a. Write a recursive function to return the factorial of all the numbers in a one-dimensional array. CO5 A 6 b. Write the C program for bubble sorting. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO3 A 6 COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using divide and conquer approach. CO5 Formulate algorithms and programs using arrays, pointers, and structures. CO6 Create a new application software to solve real-world problems. Assessment Pattern as per Bloom’s Level CO / P Remember Understand Apply Analyze Evaluate Create Total CO1 2 15 - - - - 17 CO2 2 8 7 - - - 17 CO3 1 4 9 - - - 14 CO4 - 15 14 - - - 29 CO5 - 4 21 - - - 25 CO6 - 11 11 - - - 22 124" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/December - 2015 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 12CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List any 4 basic data types of C. 2. C programs are converted into machine language with the help of ___________. 3. An expression contains relational operators, assignment operators and arithmetic operators with no parentheses. What order will the expression be evaluated? 4. ___________ loop is useful when we want that the statements within the loop must be executed at least once. 5. Can a function contain more than one return statement? Give explanation for your answer. 6. ___________ is variable which hold the address of other variable. 7. What is the value automatically assigned to the array element that is not explicitly initialized? 8. The array elements are always stored in ___________ memory locations. 9. Can a structure variable be defined as member of another structure? 10. Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations? PART – B (5 x 3 = 15 MARKS) 11. What is the difference between a variable and a constant? 12. When should break and continue statement be used? 13. What is recursion? What are the advantages of recursion? 14. How can array be passed to a function? Explain with example. 15. Describe union with example. PART – C (5 x 15 = 75 MARKS) 16. a. Explain the various conditional statements and logical operators available in c with an example. (8) b. Write a program in C to read a set of n single digits and converts them into single decimal integer. For example the program should convert the set of 5 digits [1,2,3,4,5] to integer 12345. (7) (OR) 17. a. Explain the associativity and precedence of operators in C with an example. (8) b. What are conditional operators? Write a program to find the greatest of the three numbers entered through the keyboard using conditional operators. (7) 18. a. Explain the various looping structures that are available in C with examples. (8) b. Write a C program to generate all combinations of 1,2 and 3 using for loop. (7) (OR) 19. a. Explain the general syntax and working of switch statement in C with an example. (8) b. Write a program to read a list of n random numbers and count the number of positive, zero, negative numbers in the list and also print the sum of all positive numbers. (7) [P.T.O.] 20. a. Discuss the following with suitable C program: i. Call by reference. ii. Call by value. (8) b. Write a recursive function to find factorial of a given number. (7) (OR) 21. How function definition is distinguished from function call? (7) Explain the procedure for adding functions to libraries with an example? (8) 22. a. Write a program using pointers to read in an array of integers and print its elements in reverse order. (8) b. Explain the different types of arrays with examples. (7) 23. a. Explain the various string handling functions with example. (8) b. Write a program to find whether the given string is palindrome or not. (7) 24. a. Explain the various file I/O operations with neat examples. (8) b. Write a program to copy content of one file to another file. (7) (OR) 25. a. Write short notes on enumeration. (7) b. Explain structure with example. How can a structure member be accessed? (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov/Dec– 2018 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. marks : 100 Q. No. Questions Course Outcome Marks PART-A(10X1=10 MARKS) 1. Give any two examples for secondary memory. CO1 1 2. Predict the error in the following code. #include main(){ int number; printf(“Enter a number”); scanf(“%d”,number); printf(“the number entered is %d”, number); } CO1 1 3. List any four keywords in C programming language. CO2 1 4. Select the valid identifiers from the following. _num 2temp No_1 My data CO2 1 5. Differentiate while and do-while control statements. CO3 1 6. Give the syntax of goto statement. CO3 1 7. Predict the value at num[1][2] if int num[3][4]={1,3,4,2,4,5,6,7,8}; CO5 1 8. State the string termination character. CO5 1 9. Define a function. CO4 1 10. Define function prototype. CO4 1 PART B (6 X 3= 18 MARKS) 11. Define any three characteristics of computer. CO1 3 12. Illustrate any one logical operator in C with suitable example. CO2 3 13. Differentiate selection control statement and iteration control statement. CO3 3 14. Review the following integer array. int num[] = {5,6,7,8}; Give sample C code to display the elements of the num array. CO5 3 15. Define recursion. CO4 3 16. Define self-referential structure. CO5 3 PART C(6 X 12= 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Explain any two debugging techniques. CO1 4 b. Explain software development life cycle. CO1 8 18. a. Explain any four relational operators with sample code. CO2 8 b. Define conditional operator with syntax and suitable example. CO2 4 19. a. Illustrate the three looping control statements with sample code. CO3 6 b. Differentiate break and continue in C programming. CO3 4 c. Sketch the flowchart of ‘if else’ control statement. CO3 2 20. a. Write the C program for bubble sort. Illustrate the various steps to sort the following data in ascending order. 10, 30, 5, 20, 9, 8 CO5 8 b. Brief linear search with an example. CO5 4 21. Differentiate call by value and call by reference with suitable examples. CO4 12 22. a. Write a program in C to add two matrices of MXN order. CO6 6 b. List any three library functions for string processing in C with suitable examples. CO4 6 23. a. Explain the three types of error diagnostics. CO1 6 b. Define the steps to develop a program. CO1 6 Compulsory: 24. a. Develop an application in C using structures to maintain and display the records with the name, register number, place and percentage of marks of n students. CO6 6 b. Develop a program to swap two values using pointers. CO5 6" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"QUESTION BANK BC 406 C: C LANGUAGE PROGRAMMING UNIT 1 1. Define algorithm. Write characteristics of algorithm. 2. Differentiate between algorithm and flowchart. 3. What do you mean by programming system design techniques? Explain. 4. Differentiate among high level, low level and middle level language. 5. Differentiate among compiler, assembler and interpreter. 6. Write an algorithm to find sum of two numbers. 7. Draw a flowchart to find whether the number is even or odd. 8. Draw a flowchart to find greatest number among three numbers. 9. Draw a flowchart to check a number is prime number or not. 10.Write an algorithm and draw flowchart to find factorial of a number. 11.Define flowchart. What are the necessary steps to draw a flowchart? UNIT 2 1. What do you mean by C character set, C variable, C constants? Explain in detail. 2. What do you mean by C keywords, identifier and literals? Explain with example. 3. Write the basic structure of C program and explain each and every keyword. 4. What do you mean by data types? How many data types does C language consist? 5. Explain all data types with their range and example. 6. What do you mean by type conversion? Explain its types. 7. Explain integer and float conversion with example. 8. Explain type conversion in assignment with example. 9. Define storage classes in C. Write importance of storage classes. 10.Explain all storage classes in C with example. UNIT 3 1. Define operator in C. What role an operator plays in C program? 2. Explain all types of operator available in C with example. 3. Write a program to swap two numbers without using third variable. 4. Write a program to swap two numbers using third variable. 5. What are decision control statements in C? Explain all with example. 6. Write a program to find a number is even or odd. 7. Write a program to find year is leap year or not. 8. Write a program to find greatest number among three numbers using nested if else. 9. Write a program to print sum of digits of a number using modulus operator. 10.Write a program to print reverse of a number. 11.Write a program that shows concept of switch case. 12.Write a program to find percentage, total marks and status(first division/second division/third division/fail) of a student by taking five subjects with the help of nested if-else. 13.What are loop control structures? Explain for loop, while loop and do-while loop with their syntax. 14.Explain break, continue and goto statement with example and their use. 15.Write a program to print series of number divisible by 3 from 1 to 100 using for loop. 16.Write a program to find factorial of a number using for loop. 17.Write a program to print Fibonacci series. 18.Write a program to find a number is prime number or not. 19.Write a program to print pyramid of star using nested for loop. * ** *** **** ***** 20.Write a program to print table of a number given by user. 21.Write a program to find a number is Armstrong number or not. 22.Write a program to print series of number from 1 to 100 those are divisible by 5 and 7 both. UNIT 4 1. Define array. Explain the basic concept of array. 2. How to initialize array? Explain with example and write its uses. 3. Write a program to print number from 1 to 10 using array and fins sum of them. 4. Write a program to find maximum and minimum number from an array of 10 elements. 5. Define 2-D array with its syntax and explain how to initialize 2-D array. 6. How 1-D and 2-D array elements are stored in memory/ Explain with example. 7. What are strings? Explain with example. 8. What are string handlings functions? Explain all with their uses. 9. Write a program to addition of two 2-D array. 10.Write a program to multiplication of two 2-D array. 11.Write a program to find length of a given string using strlen() function. 12.Write a program to copy one string into another string using strcpy() function. 13.Write a program to concate two string using strcat() function. 14.Write a program to compare two string using strcmp() function. UNIT 5 1. Define structure and explain how it differs from other data types.. 2. How to initialize and access member of structure? Explain with example. 3. Write a program that shows concept of structure. 4. How to declare structure? Write uses of structure. 5. What do you mean by array of structure? Explain with example. 6. Write a program that shows the concept of array of structure. 7. What are macros? Explain with example. 8. Explain #if, #elseif, #undef and #pragma directive with example. 9. Define C processor and write features of C processors. **********" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2012 Subject Title: PROGRAMMING IN C Time: 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. List the character set of C. 2. Define software. 3. Write the syntax of scanf. 4. Mention the different type of error. 5. The ________ is an entry controlled loop statement. 6. What is recursion? 7. Define Array. 8. What is the use of malloc function? 9. What is union? 10. What is self-referential structure? PART – B (5 x 3 = 15 MARKS) 11. Write short notes on constants. 12. Write about input statements in C. 13. Write notes on break and continue statement. 14. How will you pass arrays to function? 15. Give the use of fseek() and ftell() function. PART – C (5 x 15 = 75 MARKS) 16. Explain the structure of C program with a neat sketch. (OR) 17. Explain various data types in C with example. 18. Describe the different types of operators in C. (OR) 19. Explain various input and output statements in C. 20. Explain various control statements in C with example. (OR) 21. a. Write a program to find the factorial of a number using recursion. b. Write a program to find the Fibonacci series using recursion. 22. Describe storage classes in C. (OR) 23. What is pointer? Write a program to swap two numbers using pointers. 24. What is array within structure? Explain with a program. (OR) 25. Write a program to copy the contents of one file into another." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS245/DCS201 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. State the function of a compiler. 2. List the short hand assignment operators. 3. What is the use of goto statement? 4. What is the need for implementing a function? 5. Define array. 6. Write the syntax to initialize a one dimensional array. 7. What is the use of a pointer? 8. How do you access the members of a structure? 9. What is the significance of file pointer? 10. What is meant by ‘a+’ mode? PART – B (5 x 3 = 15 MARKS) 11. Illustrate the use of conditional operator with an example. 12. Differentiate between break and continue statement. 13. Define an array to hold the names of 3 cities. Assume that the maximum number of characters in any city name is 20. 14. Write a short note on self referential structure. 15. List the different modes in which a file can be opened. PART – C (5 x 15 = 75 MARKS) 16. With a neat block diagram explain the organization of a computer. Describe the different types of software. (OR) 17. Explain the different types of operators supported in C with an example program. List the precedence of operators. 18. Describe about any one branching and looping statement with a suitable program. (OR) 19. Write a program to find the sum of N numbers. Use function concept. 20. What is the significance of storage class? Give a detailed description about storage classes. (OR) 21. Write a program to check a given N*N matrix for unit matrix. 22. Write a short note on dynamic memory allocation. Explain the concept with an example program. (OR) [P.T.O.] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: Vehicle type Month of sales Qty Price Maruti – 800 02 / 99 2 1,20,000 Maruti – 1000 06 / 2K 1 2,67,000 Maruti – DX 09 / 99 3 5,45,000 Write a program to read the above data and find the total number of vehicles sold. 24. Write a program in C language to create a text file. (OR) 25. What is the use of command line arguments? Discuss its usage with an example program." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"24. Explain the working of a photodiode and photo transistor in detail with necessary diagrams. (OR) 25. Differentiate between LED and LCD. Explain the construction of LCD and working principle of reflective and transmittive type liquid crystal. Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) End Semester Examination – November/ December - 2013 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: 11CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. The C language was developed by _________. 2. Write the use of assignment operator. 3. What is the use of continue statement? 4. Write the syntax for switch statement. 5. What are the reasons for using functions in a C program? 6. What is a pointer? 7. Define array. 8. What are strings? 9. What is the purpose of getch( ) function? 10. List out the categories of library functions available for I/O. PART – B (5 x 3 = 15 MARKS) 11. Write the rules for constructing variable names. 12. Write the use of break statement. Give an example. 13. Differentiate call by value and call by reference. 14. Discuss about passing array elements to a function. 15. Differentiate structure and union. PART – C (5 x 15 = 75 MARKS) 16. Explain the various logical operators and bit wise operator. (OR) 17. Write short notes on: a. Types of C Constants. (5) b. Definition for Constant, Variable, Keyword. (5) c. C instructions. (5) 18. Explain in detail about various decision control instructions in C. (OR) 19. Discuss about various looping statements with examples. 20. What is a function? Explain the advanced features of functions. (OR) 21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum of digits of the five digit number: a. without using recursion b. using recursion 22. Explain about standard library string functions in C. (OR) 23. Write a C program to multiply two 3x3 matrices. [P.T.O] 24. Discuss about the following with an example. a. Type casting. (7) b. Array of structures. (8) (OR) 25. Write a C program that will read a file and count how many characters, spaces, tabs and newlines are present in a file." Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for PROGRAMMING FOR PROBLEM SOLVING for 100 marks course code 18CS1004 data February 2024,"Course Code 18CS1004 Duration 3hrs Course Name PROGRAMMING FOR PROBLEM SOLVING Max. Marks 100 Q. No. Questions CO BL Marks PART – A (10 X 1 = 10 MARKS) 1. Identify the number of bytes reserved for a float variable in windows 64-bit applications. CO1 R 1 2. Locate the invalid variable(s) in the following declarations.  int number;  float if;  int variable_count;  void void main; CO1 R 1 3. State any three unary operators. CO2 R 1 4. Name different types of operators that are included in C. CO2 R 1 5. __________ statement skips the current iteration and initiates the next iteration of a loop. CO3 U 1 6. __________ loop is called as exit controlled loop. CO3 R 1 7. List the two ways a string can be declared. CO4 R 1 8. Identify the value of num[6] from the below line of code int num[]={9,6,4,2,3,5,1,7,8}; CO4 U 1 9. State the string termination character. CO5 R 1 10. Predict the output for the following code. int a=10; int *ptr=&a; printf(“%d”,*ptr); printf(“%d”, ++(*ptr)); CO6 U 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 U 3 12. Compare and contrast ‘keyword’ and ‘identifier’ in C with examples. CO2 U 3 13. Write a simple program to find whether a number is odd or even. CO3 A 3 14. Write the algorithm for bubble sort program. CO4 U 3 15. Describe a function prototype along with its syntax. CO5 U 3 16. What is self-referential structure? Explain. CO6 A 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q. No 17 to 23, Q. No 24 is Compulsory) 17. a. Explain software development life cycle. CO1 U 4 b. Draw a flowchart and write the algorithm to find the area of the triangle by getting the value from the user. CO1 U 8 18. a. Evaluate and write the results of the following expressions. i. 8 + 5 + (3 * 2) ii. (9 - 5) + 3 / 2 iii. (5 / 3) + 3 + 2 CO2 A 5 b. Explain the relational and logical operators in C with examples. CO2 A 7 19. a. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 A 6 b. Write a C program to calculate the sum of first n odd integers (i.e.,1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 A 6 20. a. Write the linear search algorithm. CO4 U 6 b. Write a C program to generate the arithmetic series with n difference got from the user. CO4 A 6 21. a. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 A 6 b. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 A 6 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 b. Write a program to find the length of two strings, and compare and concatenate them using string functions. CO4 U 4 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 b. Describe a pointer. Explain how the pointer variable is declared and initialized CO6 U 4 COMPULSORY QUESTION 24. a. Develop an application in C to calculate the internal marks and external marks for n students by getting user input with their register numbers and names to grade them according to the final marks. (Hint: Use array) CO5 A 12 CO – COURSE OUTCOME BL – BLOOM’S LEVEL COURSE OUTCOMES CO1 Understand the fundamentals of computer and software development process. CO2 Identify the data type to represent the real time data representation and operators for computation. CO3 Prepare innovative solutions for the problem using branching and looping statements. CO4 Decompose a problem into functions and synthesize a complete program using the divide and conquer" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024, Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg. No. ________ Karunya University (Karunya Institute of Technology and Sciences) (Declared as Deemed to be University under Sec.3 of the UGC Act, 1956) Supplementary Examination – June 2014 Subject Title : PROGRAMMING IN C Time : 3 hours Subject Code: CS101 Maximum Marks: 100 Answer ALL questions PART – A (10 x 1 = 10 MARKS) 1. Name the unit that performs the arithmetic and logical operations on the stored numbers. 2. Differentiate a variable and a constant. 3. How is a++ different from ++a? 4. How is a character string terminated in C language? 5. State the use of ?: operator. 6. What is recursion? 7. State the advantage of pointers. 8. What are the storage classes available in C language? 9. State the advantages of structures over an array. 10. State the modes in which you can open a file. PART – B (5 x 3 = 15 MARKS) 11. Give the data types available in C language. 12. What are the logical operators available in C language? 13. Differentiate break and continue. 14. How can dynamic memory allocation save storage space? 15. What is a self referential structure? PART – C (5 x 15 = 75 MARKS) 16. a. Explain the working of a computer with its block diagram. (7) b. Describe the desirable characteristics of a program. (8) (OR) 17. a. Describe the various classes of data types used in C language. (7) b. Write a program to read a line of text from the terminal. (8) 18. How are C operators classified? Explain operator precedence. (OR) 19. Write notes on input output functions used in C language. 20. a. Explain how multi way decision can be made in C language. (8) b. Write a program to print an Electricity bill. (7) (OR) 21. Explain the different ways of parameter passing in functions 22. a. Explain how pointers could be used to manipulate strings. (8) b. Write a program to find the sum of elements of an array using pointers. (7) (OR) [P.T.O.] 23. a. Explain how dynamic memory allocation is used in C language. (7) b. Write a program to sort an array of integers using functions. (8) 24. a. Differentiate structure and union. (7) b. Write a program to find if two student marks are same using structures. (8) (OR) 25. a. Write short notes on how reading and writing to a file is done. (7) b. Write a program to add a set of numbers using command line arguments. (8)" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4" Generate a Question paper for C Programming for 100 marks course code 18CS2015 data February 2024,"Reg.No. _____________ End Semester Examination – Nov / Dec – 2019 Code : 18CS1004 Duration : 3hrs Sub. Name : PROGRAMMING FOR PROBLEM SOLVING Max. Marks : 100 Q. No. Questions Course Outcome Marks PART – A (10 X 1 = 10 MARKS) 1. Define algorithm. CO1 1 2. Identify the invalid variable(s) in the following declations. (a) int number; (b) float for; (c) invariable_count; (d) int $main; CO1 1 3. Predict the output of the following program. #include void main(){ int x, y=5, z=5; x=y=z; printf(""%d"", x); } CO1 1 4. Differentiate between = and == operator. CO1 1 5. Show how the execution for do while loop is terminated. CO3 1 6. The data type of the controlling statement of a switch statement cannot be of the type________ (a) int (b) char (c) short (d) float CO2 1 7. Predict the error / output in the following program: #include void main(){ int a[3][3]={1,2,3,4,5}; printf(“%d\n%d”,a[1][1], a[2][2]); } CO5 1 8. Predict the error / output in the following program: #include #include void main(){ char str1[]=""abc"", str2[]=""def""; printf(""%d"", strcmp(str1,str2)); } CO5 1 9. Predict the error (if any)/output in the following program. #include void main( ){ int x; x=m( ); printf(""%d"", x); } void m( ){ printf(""hello""); } CO4 1 10. Give the output of following code. #include void main( ){ display(10); printf(""%d"",display(10 ));} int display(int x) { printf(""%d\n"",x); return ++x; } CO4 1 PART – B (6 X 3 = 18 MARKS) 11. Draw the block diagram of computer and describe its components. CO1 3 12. Write a C program to calculate square of a number using arithmetic operator. CO6 3 13. Write a C program to display the consecutive digits 0, 1, 2, …. 9, with one digit on each line using while loop. CO3 3 14. Write a C program to copy the contents of one character array to another, without using the pre-defined library function strcpy(). CO5 3 15. Write a C program to find factorial of given number using recursion. CO4 3 16. Illustrate dynamic memory allocation with suitable example. CO2 3 PART – C (6 X 12 = 72 MARKS) (Answer any five Questions from Q.no 17 to 23. Q.No 24 is a Compulsory Question) 17. a. Discuss the structure of a C program. CO1 6 b. Write a C program to calculate area of the parallelogram. Example: base: 10 vertical_Height: 15 area= base * vertical_Height=150 CO2 6 18. a. Develop a C program to display the memory allocated for primitive datatypes. CO2 6 b. Write a C program to find the smallest and largest of the given three numbers. CO6 6 19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1 + 3 + 5 + ⋯+ 2𝑛−1) using looping statement. CO3 6 b. Write a C program to determine the roots of a quadratic equation 𝑎𝑥ଶ+ 𝑏𝑥+ 𝑐= 0 using the well-known quadratic formula. 𝑥= −𝑏± √𝑏ଶ−4𝑎𝑐 2𝑎 CO6 6 20. a. Write a C program to search a substring within a given string. CO5 6 b. Write a C program to find the sum and average of the elements in an array. Read the number of elements and the individual elements in the array from the user. CO5 6 21. a. Write a C program to find fibonacci of given number using function. CO4 6 b. Differentiate between call by value and call by reference using suitable example. CO5 6 22. a. Explain the relational and logical operators in C with relavent examples. CO1 6 b. Discuss pointers and operations on pointers with examples. CO5 6 23. a. Explain the various branching control statements in C with example. CO3 6 b. Demonstrate the various string handling functions. CO4 6 Compulsory: 24. a. Discuss Structures. Create a structure variable for the structure Student, and initialize its members with the following values. Name : Tijo Register Number : 156 Address : KITS, Karunya Nagar. CO5 8 b. Compare and contrast Structures with Arrays. CO5 4"