190 likes | 357 Views
Review of Syllabus. Weightage of Marks . Multiple Choice Question Internet 5M 6Q Latex 10M 12Q Telugu Typing 5M 6Q Python 20M 24Q Short Answers F our Telugu poems ans any 2 2X5=10M Long Answers Two Python programs ans 1 1x10=10M. 1.Internet .
E N D
Weightage of Marks Multiple Choice Question • Internet 5M 6Q • Latex 10M 12Q • Telugu Typing 5M 6Q • Python 20M 24Q Short Answers • Four Telugu poems ans any 2 2X5=10M Long Answers • Two Python programs ans 1 1x10=10M
1.Internet • Internet Society • LAN, HTTP, ISP, protocols , IP/TCP • Bits , bytes • HTML, Browser , Network • Search Engine, website ,webpage, hyperlink
2.LaTeX • Input(ASCII), Output(DVI) • Commands are two types starts with \{blackslash} • Single letter (\# , \$, \%) • Multi letter terminated by space • Comments (%) • Spaces & new lines treated as single
Conti… of 2(Syntax) • \documentclass[options][class] • Package => \usepackage[options][packagename] • Ex: ams, amssymb, mathptmx • Environments influences wider portion {\begin{document}..\end{document} • Top matter, preamble \title{}..\maketitle • Abstract
Conti… of 2 (MATH) • Text {$ …$} \begin{math}….\end{math} \( .. \) • Displayed{$$..$$} \begin{displaymath}.. \end{displaymath} \[..\] • \sqrt[]{value} • \frac{numerator}{denominator} => x/y • x^n (power) x^{2n} x2n • index n_in_{ij} nij
Conti… • \begin{array}{c c} 1& 2& 3 \\ 4 & 5& 6 \end{array} • Lt x→α • \int_upperlimit ^ lowerlimit \int_ x ^ y • \fbox{text}, \mbox{text}, \displaystyle • Romanletters, space(\quad) 1 2 3 4 5 6 7 8 9 \lim_{x \to α}
Conti…(Graphics) • \begin{picture}(x,y) … .. \end{picture} • \begin{picture}(x,y) (x0,y0) .. \end{picture} • x, y sets boundaries • Basic Picture commands • \put(x,y){\line(x1,y1){length}} • \put(x,y){\vector(x1,y1){length}} • \multiput(x,y)(dx,dy){n}{\line(x1,y1){length}} • \qbezier(x1,y1)(x2,y2)(x3,y3) • \put(x,y){\circle{diameter}}
Python • Variable • Conditionals • Loops • Strings & lists • Functions & Recursion
Variable • Reserved memory location • a,b,c=1 • a,b,c=1,”hello”,0.5 Conditionals • if/else • Chained (if/elif/else) • Nested
Conti… • if 1: print “true” else: print “false” • if True: print “true” else: print “false”
Conti.. if x < y: print x, "is less than", y elif x > y: print x, "is greater than", y else: print x, "and", y, "are equal“ Boolean Operators: True or False Relational Operators: >= <= != Logical Operators: And, or , not
Loops • While • While expression: • Statements • For • For var_Iterating in sequence: • statements • Continue, Break statements
Lists & strings • String consists characters • List([]), can store any data in lists • List operations( addition, multiplication) • Slicing • Nested list • Each character is accessed by its index • 0…infinite(left to right) • -1 .. Infinite(right to left)
Functions & Recursion Calling function and passing Arguments or Parameter Key word to Create aFunction • int(“hello”) • def name(arguments): statement1 statement2….. ……. • Combines group of statements • Re usability of code • Hides the complexity of code Name of the function
Recursion • The process of calling function it self is recursion and the function said to be recursive • def countdown(n) if (n==0): print “Blast Off!” else: print n countdown(n-1) Prints n to 0
How to write Short & long answers • Once u finish it off poems submit both it3 file and output file • Python Program: understand the given problemImplement given logic perform test cases submit .py file