Can nongraphic characters be used in Python ? How ? Give examples to support your answer.
What is a cross-platform software?
What are the advantages of Python programming language?
What are some limitations of Python programming language?
In how many different ways, can you work in Python?
What are advantages/disadvantages of working in Interactive mode in Python?
What are the advantages/disadvantages of working in script mode in Python?
How are keywords different from identifiers ?
How are floating constants represented in Python ? Give examples to support your answer.
How are string-literals represented and implemented in Python ?
What are operators ? What is their function ? Give examples of some unary and binary operators.
What is an expression and a statement ?
What all components can a Python program contain ?
What do you understand by block/code block/suite in Python ?
What are variables ? How are they important for a program ?
What do you understand by undefined variable in Python ?
What is Dynamic Typing feature of Python ?
What is the common structure of Python compound statements?
What is the importance of the three programming constructs?
What is empty statement in Python? What is its need?
Which Python statement can be termed as empty statement?
What is an algorithm?
What is a flowchart? How is it useful?
What is entry-controlled loop?
What are the four elements of a while loop in Python?
What is the difference between else clause of if-else and else clause of Python loops?
In which cases, the else clause of a loop does not get executed?
What are jump statements? Name them.
How and when are named conditions useful?
What are endless loops ? Why do such loops occur?
How is break statement different from continue?
Define Operator and Operand.
What is the use of type()?
The modulus operator is used to produce the quotient in division. Is it True or False ?
Describe the use parentheses in expressions.
Describe how Python evaluates an expression containing parentheses.
Explain the use of the assignment operator.
What is the difference between Expressions and Operators?
Example and (boolean AND) with example.
Example or (boolean OR) with example.
Explain Associativity of operators wit6h example.
What is the difference between * and **? Explain with an example.
What is the difference between << (left shift) and >> (right shift) operators ?
What is the difference between & (bit-wise AND), and I (bit-wise OR) operators?
Explain not ( boolean NOT ) with an example
What is a statement ?
What do you mean by floor division ?
What is the difference between "=" and "==" ?
What don you mean by precedence and associativity of operators ?
What are Identity and Membership operators ?
Explain different bitwise operators.
What will be the result of 5.0/3 and 5.0 / / 3 ?
What is boolean data type ? Explain with an example.
What is the difference between pow() and**?
What is the deference between expression and statement ?
What is the difference between num = 20 and num == 20?
What is conditional branching ?
What is looping ?
Explain if statement.
Explain range() function ?
Mention the similarity and difference between break and continue statements.
What is the function of break statement in a while or for loop ?
What is the use of Control structures ?
How many types of control structures are there ? Explain.
Explain Selection logic.
What do you mean by flow-of-control ?
What do you mean by selection statements ?
What is the minimum number of iteration that while loop could make ?
What is the difference between entry controlled loop and exit-controlled loop?
What are jump statements ?
What is Iteration ?
What are strings ?
Differentiate between physical line and logical line.
What is the difference between (+) and (*) operators?
What is the difference between Istrip() and rstrip() ?
What do you mean by' strings are immutable ?
What is the function of slicing operation ?
What is the use of Docstrings ?
How are empty strings represented in Python ?
"The quotes are not a part of strings". Comment.
Differentiate between ord() and chr() functions.
Write short note on subscript.
What do you mean by positive and negative indices ?
'String indices must be an integer'. Comment.
What do you mean by traversing a string ?
Write short note on membership operators.
What is the significance of list ?
Lists are mutable. Comments ?
Why are Python Lists called dynamic arrays ?
How do list indices work in Python ?
What is index() method used for ?
What is aliasing ? Explain with an example.
What do you mean by sequence ?
What is indexing ?
What is the default value for the first index if you omit the first index value in a slice ?
What is the default value for the second index if you omit the second index value in a slice?
What is the purpose of negative slice indices ?
Explain the functions of del statement, pop() and remove().
If two list are equivalent, is it necessary that they are identical also. Explain with an example.
Which item in the sequence is selected for an index value of - 1?
Just like C, C++, and Java, Python supports character type; True or False ?
How are lists formed ?
What are the characteristics of list ?
What is tuple ?
A tuple in Python is immutable. Comment.
What is the difference between objects and methods ?
Is an item assignment an a tuple possible ?
What is len() function used for in list and tuple?
What is the use of in operator ?
Write short note on tuple assignment.
How will you create tuple with zero element and 1 element ?
Compare and contrast tuples and list.
Can we update tuples?
What is the difference between list and tuple ?
Identity the following as mutable or immutable:lists, numbers, strings, tuples and dictionaries.
How will you create an empty tuple ?
What is dictionary?
Compare and contrast dictionaries (dicts) with other Python data types.
What are the advantages of hash ?
Does Python store dictionary elements in any particular order?
What is a mapping ?
What is another name for mapping ?
What are the characteristics of a Python dictionary?
A dictionary is an mutable object. Comment.
A dictionary is an unordered collection of objects. Comment.
Can sequence operations, such as slicing and concatenation, be applied to dictionaries?
Write the syntax of a dictionary.
Can you remove key:value pairs from a dictionary. If so, how ?
What do you mean by traversing a dictionary ?
Can you merge two dictionaries ? If so, how?
Discuss the properties of Dictionary Keys.
What do the keys(), values() and items() functions do ?
Write different capabilities of dictionary.
Write difference between lists and dictionaries.
What is the purpose of a header file in a Python program?
What is function ?
What are the advantages of using functions.
What is function definition ?
Write a short note on built-in function.
How is built-in function accessed ?
How will you import all functions in the math module ?
What is difference between cell() and floor() functions?
What is Python module ?
How will you import specific names only within a module?
Write short note on user defined function.
What is difference between pow() and **?
What do you mean by Regular expressions ?
What is a metacharacter?
How match() function is different from search() function ?
What do you mean by greedy match and non greedy match ?
Differentiate between max() and min() functions ?
Write a short note on random module.
Write a short note on randint().
Observe the following Python function and write the name(s) of the module(s) to which they belong:a. uniform() b. findall()
What is file Pointer ?
Discuss various modes to open a file.
Write short note on binary mode of opening a file.
Differentiate between read() and readline().
Write function of a+ mode.
What are different ways to read from a file ?
What are command line arguments?
Why do we use command line arguments ?
What is the use of getopt method ?
What are the different file processing modes supported by Python ?
What is pickling and unpickling in Python ?
What is the use of offset ?
Write a statement in Python to open a text file DATA.TXT so that new contents can be written in it.
Differentiate between readlines() and readline() functions.
Name two functions which allow us to access a file in a non-sequential or random mode.
Name the file which is stored in human readable form and can also be created using any text editor.
What is the use of seek() and tell() methods?
What is the use of close() method ?
What do you understand by module and package ?
What do you mean by LEGB ?
What is namespace in Python ?
Name any two commonly used build-in modules.
What do you mean by Global variable ?
What do you mean by Built-in ?
What do you understand by following import statement :from x import a, b, c
What do you mean by reloading module ?
How will you import all the attributes from a module ?
Write short note on from-import statement.
What is numpy ?
Name the module you will import to use numpy ?
What is slicing ?
What do you mean by Axes in numpy ?
What do you mean by Rank in numpy ?
Write short note on slicing.
What is the purpose of negative index values in NumPy ?
Define Array and NumPy array.
Explain membership operator in with example.