Posts

Showing posts from March, 2021

Previous Year Question Paper Dec 2022 Python For Machine Learning - CST 283 - KTU Minor

 APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Third Semester B.Tech (Minor) Degree Examination December 2022 (2021 admn.) Course Code: CST283 Course Name: Python for Machine Learning Max. Marks: 100 Duration: 3 Hours PART A Answer all questions. Each question carries 3 marks 1.Write the rules to be followed for naming any variables in python. 2.Illustrate the importance of indentation in python. 3.Illustrate the concept of local and global variables in python with example. 4.Write a program that uses lambda function to multiply two numbers. 5.What is a tuple? Explain the mutability of a tuple with suitable example. 6.Explain List Slicing with suitable examples. 7.Define class, object and methods with an example 8.What is the difference between multiple and multilevel inheritance? Give an example. 9.Write the output of the following code: import numpy as np array1=np.array([10,12,14,16,18,20,22]) print(array1[1:5:2]) print(array1[-4:]) 10.Write a program to plot a range from 1 to 30 with st