Python Scriping - 1 Python Fundamentals Flashcards
What is type error ?
Type Error Occur when input entered in a different format that you didnt want.
Which is the First High Level Language ?
Fortran in 1960s
What is slicing ?
Slicing is used to extract string from string object , common format is myStr[start:stop:step]
Default return value of input() method ?
input() method returns string , so always typecast
When C language is introduced ?
1980 , considered as middle Level Languge
Format strings used for ?
Display values of variables with text , in curly braces we can execute any python code
Which feature is not be included in code editor ?
Avoid Rich Formats.
When was First Intel CPU was Introduced ?
1971
What is Interprertor Language means ?
Interpreter run source code line by line , python code is first converted to bytecode , then bytecode is interpreted to machine code for cpu.
Common methods of string ?
find(),replace(), endswith()
How capable is the Intel First CPU ?
Capable to do 60,000 OPS (Operations Per Second
What is type hinting ?
Adding type information to function ,introduced n python 3.5 ,specified in PEP-484
Who Developed Boolean Logic ?
George Boole
What means High Level in Programming Languages ?
High leve means Abstraction , Coding is in English language & easily understandable by humans , Compiler Based
What is OPS ?
Operations Per Second
How many Trasistors are in Intel’s First CPU ?
2300 Transistors