Вы находитесь на странице: 1из 2

you should remember the questions itself(basic rat level)

Numbers
"what are the basic number types used in python , give exampels",
"how many arithematic operations are there and are the symbols",
"What are the basic arithematic operations , show examples",
"Illustrate the order of operations with the help of an example",
"How do we specify the order of operations in python",
"Give and example of performing an arithematic operation on an object",
"Use a variable to redefine itself","what are the rules and examples of naming
labels"

Variable Assignmen

What is dynamic typing


what are the pros and cons of dynamic typing
How do we assign a variable
how can we re assigna a variable
how do we check the type of a variable
name 8 common types ,which can we known from type()

strings

how do we create a string


what are the 2 main symbols to make strings
how do we make a string having a single quote in it or a double quote in it
how do we print a string on the screen
how do we find the length of a string
how do we grab different characters of a string
how many parts are there to string slicing and what does each one does
what is immutability
whay are strings immutable
how do we concatinate strings together
how can we repeat a string using arithematic operations
how can we print a string in all upper case
how can we print a string in all lower case
how can we divide a string to get the characters
when we use the split function what type of object do we obtain
how can we split a word with respect a specific character or a set of specific
characters
how do we use format function with strings

string Formatting
How do we do string concatination
what are the 3 ways to perform string formating
how do we print string or multiple strings using place holders
how do we print strings as a string representation wile using place holder
what place holders do nomral string and string representation of a string use
How do we do padding and precision for floating point numbers while using place
holders
how do we use .format() to print strings
how do we add index in .format() , give example of use
how do we change the order of strings being presented using .format
Illustrate the use of keywords in .format
how do we add padding and precision in .format
how do we add alignment in .format
how to add a symbol while you are formatting using .format
how do we perform floating point formatting in .fromat
compare floating formatting using place holders and .format method
how do we format strings using f strings
how do we print the string representation in string
how do we format floating point numbers using f strings
show the comparison of formating floating point numbers using fstrings and format
what is the difference between the precision pointer

Вам также может понравиться