Dpi.gov.bd



TPC23366631 Programming Essentials OBJECTIVES? To develop knowledge and skill on programming Basics.? To develop knowledge and skill to create, compile, debug & execute a program.SHORT DESCRIPTIONBasics of programming Language; Basics of Python; Variables; Data types; Strings; Operators; Decision making and Looping statements; Lists; Tuples; Functions; File operations;DETAIL DESCRIPTIONTheory:Basics of ProgrammingState Computer Program and ProgrammingExplain Programming Language and its classification.State Generation of Programming Languages.Describe Translator Program.Uses of Computer Programs Describe Algorithm and Flowchart.Prepare Algorithm and Flowchart for simple problems.Explain the Process of Program Planning.BASICS OF PYTHONDescribe the History of Python.Explain the features of Python.Describe the Structure of Python ProgramState Identifiers and KeywordsState Lines , Indentation, Multi-Line Statements and Multiple Statements on a Single LineState Quotation and Comments in PythonState Command Line ArgumentsVARIABLE AND DATA TYPESAssigning Values to VariablesState Multiple AssignmentDescribe StandardData TypesExplain Data Type Conversion STRINGS State Accessing Values in Strings and Updating Strings Uses of Escape Characters Explain String Special Operators and String Formatting Operator Describe Triple Quotes and Unicode String Write Simple programs using strings.PYTHON OPERATORSState Operators and their types.Describe Arithmetic Operators, Comparison Operators and Logical OperatorsState Assignment Operators, Bitwise Operators and Membership OperatorsIdentity OperatorsExplain Operators Precedence6. DECISION MAKINGDescribe the conditional and unconditional branching flow.Explain If Statement and If…else Statement State the nested if Statement Write simple program using if, if…else and nested if.7. LOOPS Describe the conditional and unconditional Looping flow.State For Loop State While Loop Explain The Infinite Loop and Nested Loops State Break ,Continue and pass Statement Write simple program using for and while loop8. LISTS Define Lists and its type.Assigning Values in Lists Explain Updating and Deleting List Elements State Basic List Operations Explain Built-in List Functions and MethodsWrite simple program using Lists.9. TUPLES Assigning Values in Tuples Explain Updating and Deleting Tuple Elements Describe Basic Tuples Operations State No Enclosing Delimiters: Explain Built-in Tuple Functions Write simple program using Tuples.10. FUNCTIONS Defining a Function State Calling a Function Explain Passing by Reference Versus Passing by Value Describe Function Arguments Uses of Date and Time Functions.Write simple program using functions. 11. FILES I/O Printing to the Screen Reading Keyboard Input Uses of input Function Describe Opening and Closing Files Explain Reading and Writing Files Practical:Perform skill to create, compile, debug & execute programs to solve specific problems. Simple programs using basic structure of a programming Language (Python).A program for printing a message.A program for adding two integer numbers.Simple programs using variablesA program to calculate the average of a set of N numbers.A program to convert the given temperature in Fahrenheit to Celsius andvice versa.A program to calculate the area of a circle.Write similar programs using variables.programs using operators A program to convert days to months and days.A program to calculate the area of a triangle.A program to compare two integer numbers. Write similar programs using operators.Programs using Branching Statements.A program to select and print the largest of the three numbers.A program to compute the roots of a quadratic equation. Write similar programs using Branching Statements.Programs using Looping StatementsA program to print odd or even numbers from 1 to 100. A program to find the maximum or minimum number from a set of numbers A program for searching prime numbers. Write similar programs using Loop Statements.Programs using Lists.A program to sort numbers in ascending or descending order using onedimensional array. A program to print numbers in two dimensional forms. Write similar programs using Lists.Programs using functions. A program to calculate the area of a triangle using function. A program that uses a function to sort an array of integers. A program to calculate factorial of any integer using recursive function. Write similar programs using functions. Programs using files. A program to store information to or to read information from file. Write similar programs using files.Reference books:Learning Python – Mark Lutz2. Website List: http:// python..bdhttp:// ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download