Source Code Byte Code Object Code

Total Page:16

File Type:pdf, Size:1020Kb

Source Code Byte Code Object Code Class 8 Chapter 7 Introduction to BlueJ What is JAVA? Java is a high-level programming language. It is developed by Sun Microsystem in 1995. Java is pure object oriented programming language. What are the features of Java? Five features of Java are: 1. It is an Object Oriented Programming Language. 2. It is platform independent. It provides us Write Once, Run Anywhere (WORA) feature. 3. It uses a compiler as well as an interpreter. 4. It is case sensitive. 5. It is secured. Why Java is called a Platform Independence Language? Java is WORA (Write Once Run Anywhere). Java programs are compiled to Bytecode that can run on any Java Virtual Machine (JVM). Therefore it is called Platform independent. Source Compiled Byte Interpreted Object code code JVM code What are the features of Object Oriented Programming? 1. Object- Object is an instance of a class. These objects share two characteristics: state (data) and behavior (functions), which define meaningful operations on that object. Example, we humans have different name, address, mobile numbers etc. but doing common functions like talking, walking, reading, sleeping etc. 2. Class- A Class is used to create various Objects that have different characteristics and common behaviors just like a factory can produce similar items based on a particular design. Each object follows all the features defined within a class. That is why class is also referred to as a blue print or prototype of an object. 3. Abstraction- Abstraction means data hiding. It hides the complexity of the program and shows only required things to the outside world. 4. Encapsulation- Encapsulation is a process in which data and function are combined together as a bundle. Encapsulation can be achieved by Access Specifiers (public, private, protected). 5. Inheritance- Inheritance is a process in which properties of parent (Base) class are inherited by the child (Derived) class. 6. Polymorphism- Polymorphism means having same thing in many forms. You can define more than one function with the same name is called Polymorphism. What is BlueJ? BlueJ is a free java Development environment that allows you to develop java programs quickly and easily. BlueJ is an IDE (Integrated Development Environment). What are the features of BlueJ? Five features of BlueJ are: 1. Simple beginner friendly graphical user interface. 2. It allows creating objects of the class dynamically, invoking their methods and also supplying data to the method arguments if present. 3. It supports syntax highlighting. (Syntax highlighting means showing the different tokens of the program like keywords, variables, separators, etc. in different colours so that they show up more clearly.) 4. It facilitates easier debugging as lines causing compilation errors are marked clearly and the error is displayed at the bottom of the window. 5. It provides a code editor, compiler and debugger integrated into a single tool. Write the different component of a program. 1. Identifiers 2. Keywords 3. Literal 4. Datatypes 5. Operators 6. Variables What is Identifier? Also write the rules of Identifier. Any name of class, method, variable package or interface in program is called identifier, which is used for identification purpose. Rules- 1. Identifier should be a single and meaning full word. No space allowed 2. Identifier should start with an alphabet or underscore or $ symbol. 3. Identifier should not be a keyword. 4. Identifiers are case sensitive. 5. Identifiers can be Alphanumeric Characters. What are keywords? Keywords are reserved words that carries special meaning to the compiler. For Ex. class, int, for, etc What are Literals? Literals refers to fixed value that do not change during the execution of the program. Types of Literals 1. Integer – Can take only Positive and Negative numbers without decimal places. 2. Floating Point - Can take only Positive and Negative numbers with decimal places. 3. Character- Any single character enclosed within single inverted comma. 4. Boolean- It can take only two values true or false. 5. String – It can take more than one Character within double inverted comma. What are DataTypes? DataTypes define the type of data that can be stored within a variable in the program. There are two types of DataType - • Primitive data types: There are 8 primitive datatypes. These are predefined by the language and named as a keyword. • Non- Primitive data types: These are user defined data types. Such as Array, String, Class etc. Explain briefly all types of Primitive data types with example. Category Data Types Description Default Default Example value size Boolean boolean Takes only false 1 bit or boolean two values: 1 byte f=false true or false. It is used to track the conditions. Integer byte It will take 0 1 byte byte a=10 only between -128 to +127 short It will take 0 2 byte short a=30000 between - 32,768 to +32,767 int It will take 0 4 byte int a= between -231 234567890 to +231-1 long It will take 0L 8 byte long between -263 a=1234056789 to +263 -1 Character char It will take ‘\u0000’ 2 byte char a=’a’ one character at a time. Floating float It can take 0.0f 4 byte float a=5.6f Point decimal values till 6 digits. Like ±3.4e+38 double It can take 0.0d 8 byte double decimal a=5.678d value till 15 digits. What are Operators? Explain types of operators briefly. Operators are symbols that are used to perform different types of operations. There are following types of operators- Arithmetic operators- These are used to perform mathematical calculations Operators Description Execution Example ++ Increment ++a means a=a+1 solve first -- Decrement } -- means a=a-1 () Bracket Solve second (3+4)-7=0 % Modulas 7%4=3 (remainder) / Division } solve next which 7/4=1 (quotient) * Multiplication 7*4=28 come first + Addition 7+4=11 solve next which - Subtraction } 7-4=3 come first Relational operators- These are used to compare two values and give Boolean result. These are used with decision statements. Operator Description Example == Equal to 3 == 3 returns true != Not Equal 3 != 3 returns false > Greater than 3 > 2 returns true < Less than 3 < 2 returns false >= Greater than or Equal to 3 >= 3 return true <= Less than or equal to 3 <= 2 returns false Logical operators- These are used to check multiple conditions and return Boolean results. Operator Name Example Description || And (3 > 2) && (3 < 4) Means If all conditions returns true. are true. Then result will be true otherwise false ! Or (3 > 2) || (4 < 3) Means if any or all returns true conditions are true, the result will be true otherwise false. && Not !(3 >4 ) returns true Means it returns the opposite of the condition that is if condition is true it will return false otherwise return true. Assignment Operator- Assignment Operator (=) is used to store right side value to the left side variable. For Example- a = 4 means 4 will be stored in variable a. What is a variable? Explain the method of declaration and Initialization. A variable is a container which holds the value at the time of program execution. Variable is a name of memory location. Variable is a mixture of two terms, vary + able that means its value can be changed. Example: int age = 10, float price = 300.0, char letter = ‘W’; Here age, price, letters are variable names. Declaration: You are only creating a space in memory without any value. Syntax: <DataType> <Identifier>; Example : int age; float price, rate; You can define multiple variables separated by comma sign. Initialization : In initialization, you can assign a value to the variable. Syntax: <DataType> <Identifier> = <Value>; Example: int age = 18; float price = 340.95; Exercise Fill in the blanks- 1. Inheritance is a process in which properties of parent class are inherited by the child class. 2. Keywords are Reserved words that have predefined meaning in the language. 3. Boolean data type has only two value: true or false. 4. Operator is a symbol that is used to perform operations. 5. Literal refer to Fixed value that do not change during the execution of the program. Write T for the true statement and F for the False one: 1. Java is not secure and robust. F 2. Class contains both data and functions together. T 3. Variable is a name of memory location. T 4. Polymorphism allows us to define more than one function with same Name. T 5. BlueJ is an ITE (Integrated Training Environment). F Choose the right Option: 1) Identify the relational Operator a) ++ b) <= c) && 2) Identify Arithmetic Operator a) || b) % c) == 3) Identify the Logical Operator a) != b) % c) ! 4) Identify Assignment Operator a) >= b) == c) = 5) Choose the non-primitive data type a) Byte b) Boolean c) Array .
Recommended publications
  • Executable Code Is Not the Proper Subject of Copyright Law a Retrospective Criticism of Technical and Legal Naivete in the Apple V
    Executable Code is Not the Proper Subject of Copyright Law A retrospective criticism of technical and legal naivete in the Apple V. Franklin case Matthew M. Swann, Clark S. Turner, Ph.D., Department of Computer Science Cal Poly State University November 18, 2004 Abstract: Copyright was created by government for a purpose. Its purpose was to be an incentive to produce and disseminate new and useful knowledge to society. Source code is written to express its underlying ideas and is clearly included as a copyrightable artifact. However, since Apple v. Franklin, copyright has been extended to protect an opaque software executable that does not express its underlying ideas. Common commercial practice involves keeping the source code secret, hiding any innovative ideas expressed there, while copyrighting the executable, where the underlying ideas are not exposed. By examining copyright’s historical heritage we can determine whether software copyright for an opaque artifact upholds the bargain between authors and society as intended by our Founding Fathers. This paper first describes the origins of copyright, the nature of software, and the unique problems involved. It then determines whether current copyright protection for the opaque executable realizes the economic model underpinning copyright law. Having found the current legal interpretation insufficient to protect software without compromising its principles, we suggest new legislation which would respect the philosophy on which copyright in this nation was founded. Table of Contents INTRODUCTION................................................................................................. 1 THE ORIGIN OF COPYRIGHT ........................................................................... 1 The Idea is Born 1 A New Beginning 2 The Social Bargain 3 Copyright and the Constitution 4 THE BASICS OF SOFTWARE ..........................................................................
    [Show full text]
  • Chapter 7 Expressions and Assignment Statements
    Chapter 7 Expressions and Assignment Statements Chapter 7 Topics Introduction Arithmetic Expressions Overloaded Operators Type Conversions Relational and Boolean Expressions Short-Circuit Evaluation Assignment Statements Mixed-Mode Assignment Chapter 7 Expressions and Assignment Statements Introduction Expressions are the fundamental means of specifying computations in a programming language. To understand expression evaluation, need to be familiar with the orders of operator and operand evaluation. Essence of imperative languages is dominant role of assignment statements. Arithmetic Expressions Their evaluation was one of the motivations for the development of the first programming languages. Most of the characteristics of arithmetic expressions in programming languages were inherited from conventions that had evolved in math. Arithmetic expressions consist of operators, operands, parentheses, and function calls. The operators can be unary, or binary. C-based languages include a ternary operator, which has three operands (conditional expression). The purpose of an arithmetic expression is to specify an arithmetic computation. An implementation of such a computation must cause two actions: o Fetching the operands from memory o Executing the arithmetic operations on those operands. Design issues for arithmetic expressions: 1. What are the operator precedence rules? 2. What are the operator associativity rules? 3. What is the order of operand evaluation? 4. Are there restrictions on operand evaluation side effects? 5. Does the language allow user-defined operator overloading? 6. What mode mixing is allowed in expressions? Operator Evaluation Order 1. Precedence The operator precedence rules for expression evaluation define the order in which “adjacent” operators of different precedence levels are evaluated (“adjacent” means they are separated by at most one operand).
    [Show full text]
  • The LLVM Instruction Set and Compilation Strategy
    The LLVM Instruction Set and Compilation Strategy Chris Lattner Vikram Adve University of Illinois at Urbana-Champaign lattner,vadve ¡ @cs.uiuc.edu Abstract This document introduces the LLVM compiler infrastructure and instruction set, a simple approach that enables sophisticated code transformations at link time, runtime, and in the field. It is a pragmatic approach to compilation, interfering with programmers and tools as little as possible, while still retaining extensive high-level information from source-level compilers for later stages of an application’s lifetime. We describe the LLVM instruction set, the design of the LLVM system, and some of its key components. 1 Introduction Modern programming languages and software practices aim to support more reliable, flexible, and powerful software applications, increase programmer productivity, and provide higher level semantic information to the compiler. Un- fortunately, traditional approaches to compilation either fail to extract sufficient performance from the program (by not using interprocedural analysis or profile information) or interfere with the build process substantially (by requiring build scripts to be modified for either profiling or interprocedural optimization). Furthermore, they do not support optimization either at runtime or after an application has been installed at an end-user’s site, when the most relevant information about actual usage patterns would be available. The LLVM Compilation Strategy is designed to enable effective multi-stage optimization (at compile-time, link-time, runtime, and offline) and more effective profile-driven optimization, and to do so without changes to the traditional build process or programmer intervention. LLVM (Low Level Virtual Machine) is a compilation strategy that uses a low-level virtual instruction set with rich type information as a common code representation for all phases of compilation.
    [Show full text]
  • A Concurrent PASCAL Compiler for Minicomputers
    512 Appendix A DIFFERENCES BETWEEN UCSD'S PASCAL AND STANDARD PASCAL The PASCAL language used in this book contains most of the features described by K. Jensen and N. Wirth in PASCAL User Manual and Report, Springer Verlag, 1975. We refer to the PASCAL defined by Jensen and Wirth as "Standard" PASCAL, because of its widespread acceptance even though no international standard for the language has yet been established. The PASCAL used in this book has been implemented at University of California San Diego (UCSD) in a complete software system for use on a variety of small stand-alone microcomputers. This will be referred to as "UCSD PASCAL", which differs from the standard by a small number of omissions, a very small number of alterations, and several extensions. This appendix provides a very brief summary Of these differences. Only the PASCAL constructs used within this book will be mentioned herein. Documents are available from the author's group at UCSD describing UCSD PASCAL in detail. 1. CASE Statements Jensen & Wirth state that if there is no label equal to the value of the case statement selector, then the result of the case statement is undefined. UCSD PASCAL treats this situation by leaving the case statement normally with no action being taken. 2. Comments In UCSD PASCAL, a comment appears between the delimiting symbols "(*" and "*)". If the opening delimiter is followed immediately by a dollar sign, as in "(*$", then the remainder of the comment is treated as a directive to the compiler. The only compiler directive mentioned in this book is (*$G+*), which tells the compiler to allow the use of GOTO statements.
    [Show full text]
  • Operators and Expressions
    UNIT – 3 OPERATORS AND EXPRESSIONS Lesson Structure 3.0 Objectives 3.1 Introduction 3.2 Arithmetic Operators 3.3 Relational Operators 3.4 Logical Operators 3.5 Assignment Operators 3.6 Increment and Decrement Operators 3.7 Conditional Operator 3.8 Bitwise Operators 3.9 Special Operators 3.10 Arithmetic Expressions 3.11 Evaluation of Expressions 3.12 Precedence of Arithmetic Operators 3.13 Type Conversions in Expressions 3.14 Operator Precedence and Associability 3.15 Mathematical Functions 3.16 Summary 3.17 Questions 3.18 Suggested Readings 3.0 Objectives After going through this unit you will be able to: Define and use different types of operators in Java programming Understand how to evaluate expressions? Understand the operator precedence and type conversion And write mathematical functions. 3.1 Introduction Java supports a rich set of operators. We have already used several of them, such as =, +, –, and *. An operator is a symbol that tells the computer to perform certain mathematical or logical manipulations. Operators are used in programs to manipulate data and variables. They usually form a part of mathematical or logical expressions. Java operators can be classified into a number of related categories as below: 1. Arithmetic operators 2. Relational operators 1 3. Logical operators 4. Assignment operators 5. Increment and decrement operators 6. Conditional operators 7. Bitwise operators 8. Special operators 3.2 Arithmetic Operators Arithmetic operators are used to construct mathematical expressions as in algebra. Java provides all the basic arithmetic operators. They are listed in Tabled 3.1. The operators +, –, *, and / all works the same way as they do in other languages.
    [Show full text]
  • Architectural Support for Scripting Languages
    Architectural Support for Scripting Languages By Dibakar Gope A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy (Electrical and Computer Engineering) at the UNIVERSITY OF WISCONSIN–MADISON 2017 Date of final oral examination: 6/7/2017 The dissertation is approved by the following members of the Final Oral Committee: Mikko H. Lipasti, Professor, Electrical and Computer Engineering Gurindar S. Sohi, Professor, Computer Sciences Parameswaran Ramanathan, Professor, Electrical and Computer Engineering Jing Li, Assistant Professor, Electrical and Computer Engineering Aws Albarghouthi, Assistant Professor, Computer Sciences © Copyright by Dibakar Gope 2017 All Rights Reserved i This thesis is dedicated to my parents, Monoranjan Gope and Sati Gope. ii acknowledgments First and foremost, I would like to thank my parents, Sri Monoranjan Gope, and Smt. Sati Gope for their unwavering support and encouragement throughout my doctoral studies which I believe to be the single most important contribution towards achieving my goal of receiving a Ph.D. Second, I would like to express my deepest gratitude to my advisor Prof. Mikko Lipasti for his mentorship and continuous support throughout the course of my graduate studies. I am extremely grateful to him for guiding me with such dedication and consideration and never failing to pay attention to any details of my work. His insights, encouragement, and overall optimism have been instrumental in organizing my otherwise vague ideas into some meaningful contributions in this thesis. This thesis would never have been accomplished without his technical and editorial advice. I find myself fortunate to have met and had the opportunity to work with such an all-around nice person in addition to being a great professor.
    [Show full text]
  • CDC Build System Guide
    CDC Build System Guide Java™ Platform, Micro Edition Connected Device Configuration, Version 1.1.2 Foundation Profile, Version 1.1.2 Optimized Implementation Sun Microsystems, Inc. www.sun.com December 2008 Copyright © 2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. This distribution may include materials developed by third parties. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, Java, Solaris and HotSpot are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the United States and other countries. The Adobe logo is a registered trademark of Adobe Systems, Incorporated. Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited.
    [Show full text]
  • Types of Operators Description Arithmetic Operators These Are
    UNIT II OPERATORS Types of Operators Description These are used to perform mathematical calculations like addition, subtraction, Arithmetic_operators multiplication, division and modulus These are used to assign the values for Assignment_operators the variables in C programs. These operators are used to compare the Relational operators value of two variables. These operators are used to perform logical operations on the given two Logical operators variables. These operators are used to perform bit Bit wise operators operations on given two variables. Conditional operators return one value Conditional (ternary) if condition is true and returns another operators value is condition is false. These operators are used to either Increment/decrement increase or decrease the value of the operators variable by one. Special operators &, *, sizeof( ) and ternary operator ARITHMETIC OPERATORS IN C: C Arithmetic operators are used to perform mathematical calculations like addition, subtraction, multiplication, division and modulus in C programs. Arithmetic Operators/Operation Example + (Addition) A+B – (Subtraction) A-B * (multiplication) A*B / (Division) A/B % (Modulus) A%B EXAMPLE PROGRAM FOR C ARITHMETIC OPERATORS: // Working of arithmetic operators #include <stdio.h> int main() { int a = 9,b = 4, c; c = a+b; printf("a+b = %d \n",c); c = a-b; printf("a-b = %d \n",c); c = a*b; printf("a*b = %d \n",c); c = a/b; printf("a/b = %d \n",c); c = a%b; printf("Remainder when a divided by b = %d \n",c); return 0; } Output a+b = 13 a-b = 5 a*b = 36 a/b = 2 Remainder when a divided by b=1 Assignment Operators The Assignment Operator evaluates an expression on the right of the expression and substitutes it to the value or variable on the left of the expression.
    [Show full text]
  • Brief Overview of Python Programming Language
    Brief Overview Chapter of Python 3 In this chapter » Introduction to Python » Python Keywords “Don't you hate code that's not properly » Identifiers indented? Making it [indenting] part of » Variables the syntax guarantees that all code is » Data Types properly indented.” » Operators » Expressions — G. van Rossum » Input and Output » Debugging » Functions » if..else Statements » 3.1 INTRODUCTION TO PYTHON for Loop » Nested Loops An ordered set of instructions or commands to be executed by a computer is called a program. The language used to specify those set of instructions to the computer is called a programming language for example Python, C, C++, Java, etc. This chapter gives a brief overview of Python programming language. Python is a very popular and easy to learn programming language, created by Guido van Rossum in 1991. It is used in a variety of fields, including software development, web development, scientific computing, big data 2021-22 Chap 3.indd 31 19-Jul-19 3:16:31 PM 32 INFORMATICS PRACTICES – CLASS XI and Artificial Intelligence. The programs given in this book are written using Python 3.7.0. However, one can install any version of Python 3 to follow the programs given. Download Python 3.1.1 Working with Python The latest version of To write and run (execute) a Python program, we need Python is available on the to have a Python interpreter installed on our computer official website: or we can use any online Python interpreter. The https://www.python. interpreter is also called Python shell. A sample screen org/ of Python interpreter is shown in Figure 3.1.
    [Show full text]
  • Using Ld the GNU Linker
    Using ld The GNU linker ld version 2 January 1994 Steve Chamberlain Cygnus Support Cygnus Support [email protected], [email protected] Using LD, the GNU linker Edited by Jeffrey Osier (jeff[email protected]) Copyright c 1991, 92, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another lan- guage, under the above conditions for modified versions. Chapter 1: Overview 1 1 Overview ld combines a number of object and archive files, relocates their data and ties up symbol references. Usually the last step in compiling a program is to run ld. ld accepts Linker Command Language files written in a superset of AT&T’s Link Editor Command Language syntax, to provide explicit and total control over the linking process. This version of ld uses the general purpose BFD libraries to operate on object files. This allows ld to read, combine, and write object files in many different formats—for example, COFF or a.out. Different formats may be linked together to produce any available kind of object file. See Chapter 5 [BFD], page 47, for more information. Aside from its flexibility, the gnu linker is more helpful than other linkers in providing diagnostic information.
    [Show full text]
  • Syntax of Mini-Pascal (Spring 2016)
    Syntax of Mini-Pascal (Spring 2016) Mini-Pascal is a simplified (and slightly modified) subset of Pascal. Generally, the meaning of the features of Mini-Pascal programs are similar to their semantics in other common imperative languages, such as C. 1. Mini-Pascal allows nested functions and procedures, i.e. subroutines which are defined within another. A nested function is invisible outside of its immediately enclosing function (procedure / block), but can access preceding visible local objects (data, functions, etc.) of its enclosing functions (procedures / blocks). Within the same scope (procedure / function / block), identifiers must be unique but it is OK to redefine a name in an inner scope. 2. A var parameter is passed by reference , i.e. its address is passed, and inside the subroutine the parameter name acts as a synonym for the variable given as an argument. A called procedure or function can freely read and write a variable that the caller passed in the argument list. 3. Mini-Pascal includes a C-style assert statement (if an assertion fails the system prints out a diagnostic message and halts execution). 4. The Mini-Pascal operation a.size only applies to values of type array of T (where T is a type). There are only one-dimensional arrays. Array types are compatible only if they have the same element type. Arrays' indices begin with zero. The compatibility of array indices and array sizes is usually checked at run time. 5. By default, variables in Pascal are not initialized (with zero or otherwise); so they may initially contain rubbish values.
    [Show full text]
  • What Is Python ?
    Class-XI Computer Science Python Fundamentals Notes What is python ? Python is object oriented high level computer language developed by Guido Van Rossum in 1990s . It was named after a British TV show namely ‘Monty Python’s Flying circus’. Python is a programming language, as are C, Fortran, BASIC, PHP, etc. Some specific features of Python are as follows: • an interpreted (as opposed to compiled) language. Contrary to e.g. C or Fortran, one does not compile Python code before executing it. In addition, Python can be used interactively: many Python interpreters are available, from which commands and scripts can be executed. • a free software released under an open-source license: Python can be used and distributed free of charge, even for building commercial software. • multi-platform: Python is available for all major operating systems, Windows, Linux/Unix, MacOS X, most likely your mobile phone OS, etc. • a very readable language with clear non-verbose syntax • a language for which a large variety of high-quality packages are available for various applications, from web frameworks to scientific computing. • a language very easy to interface with other languages, in particular C and C++. • Some other features of the language are illustrated just below. For example, Python is an object-oriented language, with dynamic typing (the same variable can contain objects of different types during the course of a program). Python character set: • Letters : A-Z , a-z • Digits : 0-9 • Special symbols : space,+,-,*,/,** etc. • Whitespace : blank space, tabs(->),carriage return, newline, formfeed • Other characters :python can process all ASCII and unicode characters as part of data PYTHON TERMINOLOGY : Tokens: A smallest individual unit in a program is known as tokens.
    [Show full text]