// Driver program to test above function int main() { int d; b)What do you mean by an algorithm? Give example. 1.10 Which one of the following is not a keyword in C language. Define Algorithm Algorithm : It is a sequence of instructions designed in such a way that if the printf(“Input two integers (n1 & n2) to swap\n”); Solution of Programming and problem solving through C language: July 2019 O/A level, PROBLEM-SOLVING THROUGH C LANGUAGE Question Paper with the solution: July 2019, Download Question Paper from the link at bottom of the page, programming and problem solving through c language January 2019, The solution of Programming and problem solving through ‘C’ language Subjective questions, IT Tools and Business System January 2020: Question Paper with Solution, Solution of Programming and problem solving through C language: January 2020 O/A level, Internet technology & web design Jan 2020: Question Paper with Solution, UPPSC 2019 PCS Prelims Answer Key Free Download, Aditya Publication Vastunisth Samanya Hindi Pdf Part-2, NIELIT O level Books pdf | DOEACC O level books, Each statement below is either TRUE or FALSE. (16), 13. a) i) Write a Python program using while loop to print the first n numbers Write the syntax for concatenating two lists in Python. Write the syntax for opening a file in Python for reading only. 1.8 In C, if you pass an array as an argument to a function, what actually passed? Write a pseudo-code to accept two numbers, add the numbers and print the result. Give example. 11. a) i) Explain with an example the boilding blocks of an algorithm. (8), ii) Write a Python program to compute the factorial of a given number. Problem Solving and Python Programming pspp Question Bank GE8151 free download Question Paper. Give relevant State the difference between (I) and (II) operators in Python. [FALSE] 2.8 Pointers to pointers is a term used to describe pointer whose contents are the address of another pointer. // function to convert decimal to binary void decToBin(int d) { // array to store binary number int binaryNumber[32]; // counter for binary array int j = 0; while (d > 0) {, // storing remainder in binary array binaryNumber[i] = d % 2; d =d/ 2; j++; }, // printing binary array in reverse order for (int i =j- 1; i >= 0; i–) printf(“The Binary is”,binaryNumber[i]); }. 10. 4. Match words and phrases in column X with the closest related meaning/word(s)/phrase(s) in the column. (OR), b) Explain with relevant diagrams and algorithm the Towers of Hanoi problem. a)What do you mean by linked list? 2. What is a list in Python ? (OR), b) Explain the various data types in Python. 4.5 The______[F]______ operator can be used to allocate memory space dynamically to variables during execution of a program. :) is a ____[A]________ operator. 5. [FALSE] 2.7 A structure cannot contain the structure itself as its member. // C program to convert a decimal number to binary number System. [TRUE] 2.6 Recursive call is not allowed for the main() function. Question Paper. Computer Programming Important Questions Below we have provided Computer programming Important Questions as per latest prescribed syllabus. (1×10). 2.1 Array int a[5] can be used to store five characters a, b, c, d and e into it. // C program to swap values of two variables without using a temporary variable. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. 1.2 Which pair of functions below are used for a single character I/O? 4.2 An ___[H]____ storage class can be used to declare global variable known to all the functions in the file. [FALSE] 2.2 C language was initially designed and developed at Microsoft Corporation of USA. b)Whatis command line argument? 8. [FALSE] 2.3 A semicolon must be placed after closing the conditional expression in a do-while construct. Enter your selection in the “OMR” answer sheet supplied with the question paper, following instructions therein. 1.9 Which of the following fopen () statements is illegal in C? https://www.facebook.com/groups/nielit.doeacc/, Watch C programming Video on youtube: A cup of tea with C. A3-R4: SOLUTION PROGRAMMING & PROBLEM-SOLVING THROUGH ‘C’ LANGUAGE A-LEVEL July 2019. (16). 1.4Which of the following is a Scalar Data type? 4.1 C language is well suited for ______[J]______ programming. Write a function in C to delete a node at a particular position from the linked list. Choose the most appropriate option, enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein. GE8151 - PROBLEM SOVING AND PYTHON PROGRAMMING Question Bank UNIT 1 - ALGORITHMIC PROBLEM SOLVING Part-A 1) Define Computer 2) Define algorithm 3) What are the two phases in algorithmic problem Outline the modes Python interpreter works. List and explain its different, b)List out the advantage of functions in Also write a function to find the second largest. What is an exception ? (ii) Actual parameter and formal parameter. [TRUE] 2.5 All the functions, except the main() function do not execute on their own, they require a calling function. a) write C language program to copy the contents of one file to another file. GE8151 Question Bank Problem Solving and Python Programming pspp Question Paper. Choose the most appropriate one and enter your. Your email address will not be published. PART – B(5×16=80 Marks) GE8151 Question Bank Problem Solving and Python Programming pspp Question Paper 11. a) i) Explain with an example the boilding blocks of an algorithm. c)What do you understand by ‘pointer to function’? 4.10 The conditional operator (? GE8151 Question Bank Problem Solving and Python Programming pspp. Download problem solving and programming previous year question papers, dmc7102 problem solving and programming question papers, problem solving and programming questions in anna university, problem solving and programming question paper for mca, important questions for problem solving and programming, problem solving and programming model question papers, DMC7102 problem solving … [Type text] GE8151- PROBLEM SOLVING AND PYTHON PROGRAMMING – Question Bank UNIT I PART-A PROBLEM SOLVING AND PYTHON PROGRAMMING 1. a)Write a C Program to print and count all numbers between 1 to 100 divisible by 11. for(i = 1; i <= 100; i++) { if((i%11) == 0). Give an example through ‘C’. GE8151 Question Bank Problem Solving and Python Programming pspp, GE8151 Question Bank Problem Solving and Python Programming pspp Click here to download, GE8151 Syllabus Problem Solving and Python Programming pspp, GE8151 Notes Problem Solving and Python Programming pspp, GE8151 Important questions Problem Solving and Python Programming pspp, Your email address will not be published. 1.6 What is the binary number equivalent of the decimal number 12? 7. 4.4 The operator “++” is known as __[G]____ operator . GE8151 Question Bank Problem Solving and Python Programming pspp Regulation 2017 Anna University pdf free download. 4.6 A_____[K]______ variable points to another pointer. b)What is the difference between pass by value and pass by reference with example?