Podcast
Questions and Answers
Which type is amongst the most popular in Python?
Which type is amongst the most popular in Python?
- Tuple
- Set
- List
- String (correct)
How can strings be created in Python?
How can strings be created in Python?
- By using braces
- By using angle brackets
- By enclosing characters in quotes (correct)
- By using parentheses
What type of quotes does Python treat the same for creating strings?
What type of quotes does Python treat the same for creating strings?
- Double quotes and triple quotes
- Double quotes and parentheses
- Single quotes and double quotes (correct)
- Single quotes and triple quotes
How does Python handle a character type?
How does Python handle a character type?
What do we use to access substrings in Python?
What do we use to access substrings in Python?
How can an existing string be 'updated' in Python?
How can an existing string be 'updated' in Python?
What does the following code print: print 'Updated String :- ', var1[:6] + 'Python'
What does the following code print: print 'Updated String :- ', var1[:6] + 'Python'
What does the escape character \n represent?
What does the escape character \n represent?
What does the string formatting operator %s do?
What does the string formatting operator %s do?
What does the * operator do when used with strings?
What does the * operator do when used with strings?
What is the purpose of a raw string in Python?
What is the purpose of a raw string in Python?
What is the result of the expression a[1:4] if a = 'Hello'?
What is the result of the expression a[1:4] if a = 'Hello'?
What does the escape character \t represent?
What does the escape character \t represent?
What is the result of the expression 'Hello' * 2?
What is the result of the expression 'Hello' * 2?
'H' in a will give:
'H' in a will give:
'Zara' and 21 are inserted into the string using which format symbol and conversion?
'Zara' and 21 are inserted into the string using which format symbol and conversion?
What is the propulsion type called when the power is produced in the vehicle itself?
What is the propulsion type called when the power is produced in the vehicle itself?
What is the sum of tractive effort developed by a vehicle?
What is the sum of tractive effort developed by a vehicle?
How is the gradient resistance of a vehicle calculated?
How is the gradient resistance of a vehicle calculated?
To what is the air resistance of automobile body and chassis proportional?
To what is the air resistance of automobile body and chassis proportional?
What is the primary objective of lubricant?
What is the primary objective of lubricant?
Which property is the most important to be considered for lubricant?
Which property is the most important to be considered for lubricant?
What is the purpose of keeping the choke closed when the engine is running?
What is the purpose of keeping the choke closed when the engine is running?
What is the ideal temperature needed for perfect combustion of diesel fuel?
What is the ideal temperature needed for perfect combustion of diesel fuel?
What material is the radiator made of for efficient working?
What material is the radiator made of for efficient working?
What is the function of the thermostat in the cooling system?
What is the function of the thermostat in the cooling system?
Which type of radiator is fitted to high-speed vehicles?
Which type of radiator is fitted to high-speed vehicles?
For which cooling method is negligible maintenance necessary?
For which cooling method is negligible maintenance necessary?
What material is used for insulation of spark plug?
What material is used for insulation of spark plug?
Which instrument is used to check the gap of the contact breaker?
Which instrument is used to check the gap of the contact breaker?
What voltage is needed at the spark plug gap to generate spark in the combustion chamber?
What voltage is needed at the spark plug gap to generate spark in the combustion chamber?