CodeKaroYaaro PPT python part-(1)


CodeKaroYaaro13

Uploaded on Dec 9, 2020

Category Education

e at CodeKaroYaaro empowering every kid to become a Computer Science Expert by teaching them to develop mobile apps, gaming apps, websites, web applications and AI-Powered Mobile Apps. Gone are the days when programming languages and learning how to code was like a top-secret for kids, parents were like not to give them electronic gadgets for exploring the uses of it. And mobile phones, tablets, computers, and laptops all were kept away from kids' surroundings. By the time the technology revolution took place everything had changed from traditional to digital platforms. Now, Websites, Mobile Apps, Web Apps, Gaming Apps are part of our daily life. We all are digitally connected with social sites like Facebook, Twitter, Instagram, LinkedIn, etc. We are utilizing technology for our purpose, we should also propose opportunities for learning how to code to kids so that they can explore more into technology via our programming and coding courses. Our objective is very clear towards kids' development by teaching them programming languages, block coding, python coding, etc., and opening a new world of opportunities with fun and creativity for them. We are always inspiring our little coders for learning to code in different coding languages like HTML, Java python for kids. And we will arrange more Coding Winter and Summer Camps and coding quizzes, competitions, online quizzes, and programs for kids from time to time.

Category Education

Comments

                     

CodeKaroYaaro PPT python part-(1)

PYTHON PROGRAMMING (PART-1) ADD YOUR NAME HERE What is python programming? Python is  an  interpreted,  object-oriented,  high- level programming language with  dynamic  semantics.  Python's simple,  easy  to  learn  syntax  emphasizes  readability  and  therefore  reduces  the  cost  of program maintenance.  Python supports  modules  and  packages,  which  encourages program modularity and code reuse.  Define Algorithm Algorithm : It is a sequence of instructions designed in such a way that if the instructions  are executed in the specified sequence, the desired results will be obtained. The  instructions in an algorithm should not be repeated infinitely. The algorithm should be  written in sequence.  What are the properties of algorithm? • It is written in simple English.  •  Each step of an algorithm is unique and should be self ALGORITHM •  explanatory. An algorithm must have at least one input. •  An algorithm must have at least one  •  output. An algorithm has finite number of steps.  What are the building block of algorithm? The three building block of algorithm are : • Sequence  • Selection  • Iteration  Sequence: A  sequence  is  one  of  the  basic  logic  structures  in  computer  programming. In a sequence structure, an action, or event, leads  to the next ordered action in a predetermined order. WHAT IS  Selection: MEANT BY A  selection  (also  called  a  decision)  is  also  one  of  the  basic  SELECTION, logic  structures  in  computer  programming.  In  a  selection  structure, a question is asked, and depending on the answer,  ITERATION the  program  takes  one  of  two  courses  of  action,  after which  the program moves on to the next event. AND SEQUENCE  Iteration: CONTROL Iteration is the repetition of a process in order to generate an  outcome.  The  sequence  will  approach  some  end  point  or  STRUCTURES? end  value.  Each  repetition  of  the  process  is  a  single  iteration,  and  the  outcome  of  each  iteration  is  then  the  starting point of the next iteration. DEFINE FLOWCHART: It is a pictorial representation of an algorithm. The flowchart uses different shape symbols to  denote the different appropriate instructions and these instructions can be written within the  boxes using clear statements. Write the Characteristics of Pseudo code: Named variables represent data and identifiers denote higher level functions Composed of a sequence of statements or steps. • Statements are often numbered sequentially. • Operational (Imperative) statements include assignment, input, and output Control structures provide iterative and conditional execution. Indentations used for grouping b WHAT IS NEED FOR FLOWCHART SYMBOL? The  need  for  flowchart  symbols  because  each  symbols  of  different  shapes  denotes  different  types  of  instructions.  The  program  logic  through  flowcharts  is  made  easier  through the use of symbol that has standardized planning.  Write some rules for drawing a flowchart Flowchart rules to start following: Run  your  return  lines  under  your flowchart,  making  sure  that  they  don't  overlap.  Maintain consistent spacing between symbols. Use the correct symbol  for each step  (diamond  shapes  are  for  decisions,  rectangles  are  used  for  processes,  start/end  shapes should be the same, etc.) WHAT ARE THE ADVANTAGES OF USING A FLOWCHART • Communication  •  Effective  •  Proper  •  Documentation  •  Efficient Coding  •  Proper  •  Debugging  •  Efficient Program Maintenance  Write any two disadvantages of flowchart ? • It is not visual  •  We do not get a picture of the design. WHAT IS PSEUDO CODE? Pseudo means imitation of false and code refers to the instruction written in a  programming language. Pseudo code is programming analysis tool that is used for  planning program logic.  Write the Characteristics of Pseudocode. • Named variables represent data and identifiers denote higher level  •  functions.  •  Composed of a sequence of statements or steps.  • Statements are often numbered sequentially.  •  Operational (Imperative) statements include assignment, input, and  •  output.  •  Control structures provide iterative and conditional execution.  • Indentations used for grouping blocks of statement WHAT ARE THE RULES FOR WRITING PSEUDO CODE? • Write one statement  •  per line. Capitalize  •  initial keywords.  •  Indent to show hierarchy.  •  End multiline structure.  • Keep statements language independent. Write any two advantages of pseudo code. It can be done easily in any word processor. • It can be written easily. • It can be easily modified as compared to flowchart. Write any two disadvantages of flowchart? •  It is not visual  •  We do not get a picture of the design. DIFFERENTIATE ALGORITHM AND PSEUDO CODE S.NO Algorithm Pseudo code 1. It is a well-defined procedure that It is a simple way of writing programming code allows a computer to solve a problem. in English. 2. Algorithms can be described in Pseudo code describes how you would various ways, from pure implement an algorithm without getting mathematical formulas to complex into syntactical details. graphs. WHAT IS THE DIFFERENCE BETWEEN ALGORITHM AND FLOWCHART S.NO Algorithm Flow Chart 1. Step by Step formation Box by box formation  2. Mostly run to complete or manage a  Can be used in general terms to solve program implementation any problem related to an individual or a group. 3. More detailed but difficult to Less detailed but easy to understand by understand everyone. 1. Define algorithm. Explain in detail about the building blocks of algorithm. 2. What is flowchart. Explain the Basic design structures in Flowchart 3. What is pseudo code? Explain its guidelines and benefits. 4. Explain the design structures in pseudo code. 5. Explain the steps involved in program development cycle. 6. Wari.teF itnhde malignoimrituhm i,n p ase luisdt.o code and draw the flowchart for the fobll.owIninsegr:t a card in a list of sorted cards. c. Guess an integer number in a range. d. Towers of Hanoi. We are going to have a great year learning together! S L I D E T I T E For more information please contact us at : https://www.codekaroyaaro.com/ [email protected] m 7972289701 https://www.facebook.com/codeka royaaro https:// instagram.com/codekaroyaaro?igshid=ipo11oc hpt9tp0sw:/v/www.youtube.com/channel/UC0GUyPIpdDVJQMugEtkH8P w https:// www.youtube.com/channel/UC0GUyPIpdDVJQMugEtkH8Pw