1. The document contains a 10 question exam with multiple choice and short answer questions on computational thinking and C programming. Questions cover topics like flowcharts, algorithms, functions, arrays, and conditionals.
2. Marks are awarded for each question based on level of difficulty from 4.5 to 12.5. Questions assess comprehension of concepts and ability to apply them to solve problems.
3. The exam aims to evaluate students on several course outcomes related to computational thinking and programming skills through a variety of question types and levels of complexity.
1. The document contains a 10 question exam with multiple choice and short answer questions on computational thinking and C programming. Questions cover topics like flowcharts, algorithms, functions, arrays, and conditionals.
2. Marks are awarded for each question based on level of difficulty from 4.5 to 12.5. Questions assess comprehension of concepts and ability to apply them to solve problems.
3. The exam aims to evaluate students on several course outcomes related to computational thinking and programming skills through a variety of question types and levels of complexity.
1. The document contains a 10 question exam with multiple choice and short answer questions on computational thinking and C programming. Questions cover topics like flowcharts, algorithms, functions, arrays, and conditionals.
2. Marks are awarded for each question based on level of difficulty from 4.5 to 12.5. Questions assess comprehension of concepts and ability to apply them to solve problems.
3. The exam aims to evaluate students on several course outcomes related to computational thinking and programming skills through a variety of question types and levels of complexity.
1. The document contains a 10 question exam with multiple choice and short answer questions on computational thinking and C programming. Questions cover topics like flowcharts, algorithms, functions, arrays, and conditionals.
2. Marks are awarded for each question based on level of difficulty from 4.5 to 12.5. Questions assess comprehension of concepts and ability to apply them to solve problems.
3. The exam aims to evaluate students on several course outcomes related to computational thinking and programming skills through a variety of question types and levels of complexity.
Academic Year:2020-2021 20SC1101 - Computational Thinking for Design Set No: 1 Time: Max.Marks: 50 CO COI S.NO Answer All Questions Choice Options Marks CO BTL BTL John has n sweets which are to be distributed equally to m kids. Design the flowchart such that it also prints choice 1. 4.5Marks CO1 3 1 number of sweets each kid gets and the remaining Q-2 sweets with John Develop a C function to find the sum and average of 4 2. 4.5Marks CO1 3 1 numbers using pointers as arguments A library charges fine for every book returned late. For the first 5 days the fine is Re 1/-, for 6-10 days choice 3. 8Marks CO1 3 2 the fine is Rs 2 and for above 10 days the fine is Rs 5. Q-4 Translate the above task to an algorithm Develop an algorithm and flowchart to print the first n 4. 8Marks CO1 3 2 terms of Fibonacci series. You are the class representative of your section. You have records of all your classmates in your file with the details of regno, name, section, and mobile choice 5. 12.5Marks CO1 3 3 number. Today a new member joined in your class. Q-6 Write a C function to add new student record to your file Design an algorithm to check if a given number is 6. 12.5Marks CO1 3 3 palindrome. Translate the algorithm to a C module Design a C module that checks whether a triangle can be formed or not considering the angles as arguments. choice 7. 4.5Marks CO2 3 1 (Hint: In a triangle, the sum of all angles must be 180 Q-8 degrees) Given the values of first term (a), and the common difference (d), generate first n terms in an Arithmetic 8. Progression (AP). Design a modularized code for the 4.5Marks CO2 3 1 specified task. (Hint: The first n terms in AP are a, a+d, a+2d, a+3d, .. a+(n-1)d) A company pays car allowance to its employees based on the size of engine in the car. Those employees whose car engines are less than or equal to 1500CC receive Rs 2/- per km and those whose car choice 9. 8Marks CO2 3 2 engines are greater than 1500CC receive an additional Q-10 50 paise per km. Develop a module that accepts the engine size and number of kilometers, calculates the car allowance and returns the result. Develop a function that expects number of persons 10. and their age stored in 1D array and returns the 8Marks CO2 3 2 number of persons in the age group of 50-60. choice 11. Answer both A and B 12.5Marks CO2 3 3 Q-12 1/2 10/28/2020
11.A. Develop a function that accepts an integer argument 6Marks CO2 3 3
and prints the digits of n that divide n. For example, if n is 122 then print 2,2,1 as 2 and 1 divide the number n. If none of the digits divide the number, the print “No factors”. Design a module to accept a grade and declare the 11.B. equivalent description Grade Description E Excellent 6.5Marks CO2 3 3 V Very Good G Good A Average F Fail 12. Answer both A and B 12.5Marks CO2 3 3 Design a function that accepts 2 integers n and k (n is assumed to be 5-digit number and k is 1-digited). The 12.A. 6Marks CO2 3 3 function must return the number of occurrences of k in n. Design a module to accept temperature in centigrade and display a suitable message according to temperature state below Temp < 0 then Freezing 12.B. weather Temp 0-10 then Very Cold weather Temp 10- 6.5Marks CO2 3 3 20 then Cold weather Temp 20-30 then Normal in Temp Temp 30-40 then Its Hot Temp >=40 then Its Very Hot [object HTMLDivElement]