From 173239404eb7ab3fc13d8a9256b2c0a827f55cfa Mon Sep 17 00:00:00 2001 From: jahanvi27 <60042629+jahanvi27@users.noreply.github.com> Date: Tue, 14 Apr 2020 15:23:57 +0530 Subject: [PATCH] Create jahanvi goyal assignment --- jahanvi goyal assignment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 jahanvi goyal assignment diff --git a/jahanvi goyal assignment b/jahanvi goyal assignment new file mode 100644 index 0000000..d76836c --- /dev/null +++ b/jahanvi goyal assignment @@ -0,0 +1,15 @@ +python class 1 +1)what is jpython and cpython? +ans.-cypthon is both the compiler as well as the interpreter. it will convert the written python code into the byte code before interpreting it. +it is the default and most widely used implementation of the language. +jpython-it is the implementation of python working on the java platform. + +2) basic difference between pyhton2 and pyhton3. +ans.- in python2 it takes the user input and default storing os string is in the ASCII code.whereas in python3 we take only input and default storing of string is in unicode. + +3)difference between ASCII Code and unicode. +ans- +Unicode and ASCII both are standards for encoding texts +ASCII CODE-ASCII is a character-encoding scheme and it was the first character encoding standard.ASCII uses 7 bits to represent a character. It has 128 code points, 0 through 127. It is a code for representing English characters as numbers, with each letter assigned a number from 0 to 127. + +UNICODE-Unicode is a universal international standard character encoding that is capable of representing most of the world's written languages. It assigns each character a unique number, or code point.