32 solutions available
Question 3Assertion (A): The interactive mode of Python gives instant result of the typed statement.Reasoning (R): Script mode is an interactive...
Question 7Assertion (A): Python is the fastest language.Reasoning (R): Python is an interpreted language.Both A and R are true and R is the correct...
Question 8Assertion (A): Python is a case-sensitive language.Reasoning (R): Python is easy to understand as it has a clearly defined syntax and...
Question 9Which of the following codes is correct?1.print("Programming is fun") print("Python") print("Computer Science") 2.print ("Programming is...
Question 2Write some limitations of Python.
Question 6Two friends decide who gets the last slice of a cake by flipping a coin five times. The first person to win three flips wins the cake. An...
Question 10Write an algorithm that performs the following:Ask a user to enter a number.If the number is between 5 and 15, write the word GREEN.If the...
Question 11Write an algorithm that accepts four numbers as input and find the largest and smallest of them.
Question 12"Decomposition leads to simplicity." How?
Question 13Write an algorithm to find a factorial of an inputted number.
Question 14Match the pairs:
Question 15Write the pseudocode to print the bill depending upon the price and quantity of an item. Also, print Bill GST, which is the bill after...
Question 16When was Python released?
Question 17Who developed Python and which two languages contributed to Python as a programming language?
Question 18Is Python case-sensitive?
Question 19What is IDLE?
Question 20Differentiate between displaying and printing method in Python.
Question 21Briefly explain the salient features of Python.
Question 22What do you understand by cross-platform software with respect to Python?
Question 23What are the advantages of Python programming language?
Question 24In how many different ways can you work in Python?
Question 25What are the advantages/disadvantages of working in Interactive mode in Python?
Question 26Write instructions to the Interactive mode for the following:(a) To display sum of 3, 8.0, 6 * 12(b) To print sum of 16, 5.0, 44.0
Question 27Write the given instructions in Interactive and Script modes to get the following result:Python is easy to learn and write. It allows us...
Question 28Write a code that prints your full name and your birthday as separate strings.
Question 29Record what happens when the following statements are executed:(a) print (n=17)(b) print (8 + 9)(c) print (4.2, "hello", 6 - 2, "world",...
Question 30Use IDLE to calculate:(a) 6+4*10(b) (6+4) *10
Question 31Try the following code on Python Shell and evaluate the output generated:>>> print("Python is easy to learn and write.")...
Question 32Draw a flow chart to count and display the even and odd numbers in a given list of integers.
Question 4What are the advantages of Python programming language?
Question 5What are some limitations of Python programming language?
Question 1Write instructions to get the following result :Math is Fun so don't be resistant Just learn the rules, the rules are consistent And most...