6th Sem, Mechatronics Diploma

15MC65P: Python Programming Lab Mechatronics 6th Sem Syllabus for Diploma DTE Karnataka C15 Scheme

Python Programming Lab detail DTE Kar Diploma syllabus for Mechatronics Engineering (MC), C15 scheme is extracted from DTE Karnataka official website and presented for diploma students. The course code (15MC65P), and for exam duration, Teaching Hr/week, Practical Hr/week, Total Marks, internal marks, theory marks, duration and credits do visit complete sem subjects post given below. The syllabus PDFs can be downloaded from official website.

For all other mechatronics 6th sem syllabus for diploma c15 scheme dte karnataka you can visit Mechatronics 6th Sem Syllabus for Diploma C15 Scheme DTE Karnataka Subjects. The detail syllabus for python programming lab is as follows.

Pre-requisites:

Applied Science and Engineering Mathematics

Course Objectives:

Understand and write Python program for simple Engineering applications

Course Outcomes:

For complete syllabus and results, class timetable and more pls download iStudy Syllabus App. Its a light weight, easy to use, no images, no pdfs platform to make students life easier.

Unit I

Introduction to Python, Installing Python on Windows/Linux, Understanding Command Line, IDLE and the Interpreter ,General Syntax, Working with data types, Numbers and Fractions, Formatting Numbers, Working with Strings, Formatting Strings, Working with Dates, Operators(Arithmetical, Logical, Relational ) Conditionals(If, if-else, elif and nesting), Loops and Nesting of Loops(While and for, Break/Continue/Pass Statements, Boolean Operators in, not in, is, is not, and, or , not, Local and Global Variables) String Methods, Functions(UDF-User Defined Functions in Python, Fixed Arguments and Returning Value, Arguments with default values, Variable Number of Arguments) Lambda Expressions and Recursions, Collections(Lists(Mutable), Tuples (Immutable Lists), Dictionaries)Working with different Modules, File IO(File modes, Open and Close a file, read and write, creating and deleting text files, pathnames)

Unit II

Programming Exercises

  1. Develop a Python Script for temperature conversions using F=C*9/5+32 and C=(f-32)*5/9. Test your program with several values for Celsius and Fahrenheit
  2. Develop a Python Script that displays various date-related values such as
    1. Current date and time
    2. The day of the week, month and year
    3. Time in seconds since Jan 1, 2012(epoch)
  3. Develop a Python Script to print consecutive integers in the form as shown.
    1. 1
    2. 1 2
    3. 1 2 3
    4. 1 2 3 4
    5. 1 2 3 4 5
  4. Develop a Python Script using split() to compare word abc in a string x and find the match
  5. Develop a Python Script using split() to print justified text
  6. Develop a Python Script to explain Break, Continue and Pass statements using a While Loop find the divisor of a number
  7. Develop a Python Script to find Prime Numbers using while loop
  8. Develop a Python Script to find factorial of a number using Recursion
  9. Develop a Python Script to find GCD of two positive integers using Euclid’s algorithm & Recursion
  10. Develop a Python Script to Calculate LCM of two positive integers.
  11. Develop a Python Script to count the occurrences of digits and letters in a string
  12. Develop a Python Script to find the various attributes of a file-modes like r,w,rw
  13. Develop a Python Script to read and write data into a text file
  14. Develop a Python Script to find whether a specified path references a file and if yes find the file size and timestamp

e-references

For complete syllabus and results, class timetable and more pls download iStudy Syllabus App. Its a light weight, easy to use, no images, no pdfs platform to make students life easier.

Contents linked with CO and PO

  1. Introduction to Python, Installing Python on Windows/Linux, Understanding Command Line, IDLE and the Interpreter ,General Syntax, Working with data types, Numbers and Fractions, Formatting Numbers, Working with Strings, Formatting Strings, Working with Dates, Operators(Arithmetical, Logical, Relational ) Conditionals(If, if-else, elif and nesting), Loops and Nesting of Loops(While and for, Break/Continue/Pass Statements, Boolean Operators in, not in, is, is not, and, or , not, Local and Global Variables) String Methods, Functions(UDF-User Defined Functions in Python, Fixed Arguments and Returning Value, Arguments with default values, Variable Number of Arguments) Lambda Expressions and Recursions, Collections(Lists(Mutable), Tuples (Immutable Lists), Dictionaries)Working with different Modules, File IO(File modes, Open and Close a file, read and write, creating and deleting text files, pathnames) 1 1,2
  2. Develop a Python Script for temperature conversions using F=C*9/5+32 and C=(f-32)*5/9. Test your program with several values for Celsius and Fahrenheit 2 1,2,3,4
  3. Develop a Python Script that displays various date-related values such as
    1. Current date and time
    2. The day of the week, month and year
    3. Time in seconds since Jan 1, 2012(epoch. 2 1,2,3,4
  4. Develop a Python Script to print consecutive integers in the form as shown. 2 1,2,3,4
    1. 1
    2. 1 2
    3. 1 2 3
    4. 1 2 3 4
    5. 1 2 3 4 5
  5. Develop a Python Script using split() to compare word abc in a string x and find the match 2 1,2,3,4
  6. Develop a Python Script using split() to print justified text 2 1,2,3,4
  7. Develop a Python Script to explain Break, Continue and Pass statements using a While Loop find the divisor of a number 2 1,2,3,4
  8. Develop a Python Script to find Prime Numbers using while loop 2 1,2,3,4
  9. Develop a Python Script to find factorial of a number using Recursion 2 1,2,3,4
  10. Develop a Python Script to find GCD of two positive integers using Euclid’s algorithm & Recursion 2 1,2,3,4
  11. Develop a Python Script to Calculate LCM of two positive integers 2 1,2,3,4
  12. Write a Python Script to count the occurrences of digits and letters in a string 2 1,2,3,4
  13. Develop a Python Script to find the various attributes of a filemodes like r,w,rw 2 1,2,3,4
  14. Develop a Python Script to read and write data into a text file 2 1,2,3,4
  15. Develop a Python Script to find whether a specified path references a file and if yes find the file size and timestamp 2 1,2,3,4

Student Activity

  1. Write and execute Python program for a given application not mentioned in the curriculum

Note:

  1. Each student should do above activity or any other similar activity related to the course COs and get it approved from concerned Teacher and HOD.
  2. No student should have activity repeated or similar
  3. Teacher should ensure activities by group must cover all COs
  4. Teacher should asses every student as approved by HOD

Scheme of valuation for SEE

For complete syllabus and results, class timetable and more pls download iStudy Syllabus App. Its a light weight, easy to use, no images, no pdfs platform to make students life easier.

Requirements for Python Programming Lab. (For an Intake of 60 Students [3 Batches])

Hardware requirement

  1. PC systems (latest configurations with speakers) 20
  2. Laser Printers 04
  3. Networking (Structured) with cat 6e / wireless 24 Port switches / Wireless Router I/O Boxes for networking (as required) 03

Software Requirement:
Appropriate software.

Note: Students: Computers ratio should be strictly 1:1 for a batch of twenty Students.

For detail syllabus of all other subjects of BE Mechatronics, C15 scheme do visit Mechatronics 6th Sem syllabus for C15 scheme.

Dont forget to download iStudy Syllabus App for latest syllabus and results, class timetable and more.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.