Advertisement

#1 Python id AND type BASIC PROGRAM || Demonstrate the working of „id‟ and „type‟ functions

#1 Python id AND type BASIC PROGRAM || Demonstrate the working of „id‟ and „type‟ functions #1 Python id AND type BASIC PROGRAM || Demonstrate the working of „id‟ and „type‟ functions

IN THIS VIDEO WE WILL DISCUSS PYTHON SERIES IN WHICH PYTHON ID AND TYPE DEMONSTRATION AND SOME BASICS OF PYTHON

FOR DOCUMENTS

FACEBOOK PAGE --

THANKS FOR WATCHING THESE VIDEOS
COMING SOON Write a Python program to: -
1. Demonstrate the working of „id‟ and „type‟ functions
2. To find all prime numbers within a given range.
3. To print „n terms of Fibonacci series using iteration.
4. To demonstrate use of slicing in string
5.
a. To add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged.
Sample String : 'abc'
Expected Result : 'abcing'
Sample String : 'string'
Expected Result : 'stringly'
b. To get a string from a given string where all occurrences of its first char have been changed to '$', except the first char itself.
6.
a. To compute the frequency of the words from the input. The output should output after sorting the key alphanumerically.
b. Write a program that accepts a comma separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically.
7. Write a program that accepts a sequence of whitespace separated words as input and prints the words after removing all duplicate words and sorting them alphanumerically. 8. To demonstrate use of list & related functions
9. To demonstrate use of Dictionary& related functions
10. To demonstrate use of tuple, set& related functions
11. To implement stack using list
12. To implement queue using list
13. To read and write from a file
14. To copy a file
15. To demonstrate working of classes and objects
16. To demonstrate class method & static method
17. To demonstrate constructors
18. To demonstrate inheritance
19. To demonstrate aggregation/composition
20. To create a small GUI application for insert, update and delete in a table using Oracle as backend and front end for creating form
The lab experiments for this course have to ensure that the following concepts of PYTHON LANGUAGE are covered during lab classes:
Installing Python; basic syntax, interactive shell, editing, saving, and running a script, the concept of data types; variables, assignments; immutable variables; numerical types; arithmetic operators and expressions; reading input from console, writing to console, comments in the program; understanding error messages; Conditions, Boolean logic, logical operators; ranges; Control statements: if-else, loops (for, while);
String manipulations: subscript operator, indexing, slicing a string; other functions on strings: string module, strings and number system, format functions: converting strings to numbers and vice versa. Binary, octal, hexadecimal numbers Lists, tuples, sets, and dictionaries: basic list operators, replacing, inserting, removing an element; searching and sorting lists; dictionary literals, adding and removing keys, accessing and replacing values; traversing dictionaries, Array in Python Regular Expressions: re modules, match function, search function, modifiers and patterns Design with functions: hiding redundancy, complexity; arguments and return values; formal vs actual arguments, named arguments. Program structure and design. Recursive functions, scope and global statements, Lambda expressions, Importing Modules, math Module & Random Modules, creating own module. Exception Handling: Exceptions, except clause, try and finally clause user defined exceptions File Handling: manipulating files and directories, os and sys modules; text files: reading/writing text and numbers from/to a file; Simple Graphics: “turtle” module; simple 2d drawing - colors, shapes; digital images, image file formats. Graphical user interfaces: event-driven programming paradigm; tkinter module, creating simple GUI; buttons, labels, entry fields, dialogs; widget attributes - sizes, fonts, colors layouts, nested frames. Database: cx_ Oracle module, Connections, Executing Queries, calling procedure and functions, Using GUI to access Database. Object Oriented Programming: Concept of OOP: Abstraction, Encapsulation, Inheritance, and Polymorphism in Python, classes, objects, attributes and methods; defining classes; design with classes, constructors and destructors, inheritance, polymorphism, operator overloading (_eq_, _str_, etc); abstract classes; aggregation and composition.

Demonstrate the working of „id‟ and „type‟ functions,Python id AND type,basic syntax,Abstraction,Encapsulation,Inheritance,and Polymorphism in Python,classes,objects,Lists,tuples,sets,AKTU PYTHON PROGRAMS,mylearnings tutorials,learn python in hindi,learn python easily,coding videos,python for beginners,programming for programmer,python tutorial,python in hindi,variable in python,

Post a Comment

0 Comments