80 solutions available
Question 1Assertion (A): Python is a cross-platform language.Reasoning (R): Python code can run on a variety of platforms which makes programs very...
Question 2Assertion (A): Python comes with its own IDLE.Reasoning (R): IDLE is Python's Integrated Development and Learning Environment which allows...
Question 3Assertion (A): The interactive mode of Python gives instant result of the typed statement.Reasoning (R): Script mode is an interactive...
Question 4Assertion (A): Python uses an interpreter to convert source code to object code.Reasoning (R): Python interpreter scans and translates the...
Question 5Assertion (A): To print the value of a variable, Python uses print() method.Reasoning (R): print() method displays the content on the...
Question 6Assertion (A): The shortcut key to run a Python program from script mode is F1.Reasoning (R): Python programs/scripts are stored in files...
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 1Programs are a set of instructions given to the computer to solve a problem.
Question 2A/An Algorithm is defined as a finite sequence of steps required to get the desired output.
Question 3A Flowchart is a type of diagram that represents the algorithm graphically using boxes of various types, connected by arrows.
Question 4Python was created by Guido Van Rossum.
Question 5Python is called a/an interpreted language.
Question 6Python syntax is Case-Sensitive.
Question 7In Python, a syntax error is detected by the interpreter at runtime.
Question 8Python is a/an platform independent language.
Question 9To start Python from the command prompt, use the python command.
Question 10Python programs are saved using the .py or .pyw extension.
Question 11Python programming can be done in interactive and script modes.
Question 12There are no standard rules to write Pseudocode.
Question 13An Algorithm is the process to write step-wise solution of a given problem in English-like language.
Question 14Decomposition is the process of breaking down a complex problem into smaller problems so that they can be managed easily.
Question 15print() is defined as an output statement to display the result of a code on the output screen.
Question 1What is an algorithm?A set of steps to solve a problemSoftware that analyzes dataA hardware device that stores dataAll of these
Question 2What shape represents a decision in a flow chart?DiamondRectangleOvalParallelogram
Question 3Python was developed by ............... .Charles BabbageGuido van RossumTim Berners LeeRobert E. Kahn
Question 4You don't have to pay for Python and you can view its source code too. It means Python is-FreewareFree and Open sourceOpen sourceShareware
Question 5Identify the correct print() statement:print(Hello)print("Hello")print('Hello")print("Hello')
Question 6Python is a/an ............... language.CompiledInterpretedCompiled & InterpretedNone of these
Question 7The interactive interpreter of Python is termed as ............... .Python shellPython Script modePython Editor modePython command line
Question 8The three greater than signs (>>>) are called the Python ............... .CursorCommand promptPointerBlinking cursor
Question 9Which of the following codes is correct?1.print("Programming is fun") print("Python") print("Computer Science") 2.print ("Programming is...
Question 10Python is a case-sensitive language. This means ............... .Capital and small letters are same for PythonPython doesn't care about...
Question 11For which set of values will the Python code (s = (a**4) + 5*5**(b + b)) give the output as: 141?a = 1, b = 2a = 3, b = 2a = 2, b = 1a =...
Question 12............... mode of Python gives instant result of typed statement.Interactive modeScript modeBoth Interactive and Script modeNone of...
Question 1Python is free and open-source. What do you understand by this feature?
Question 2Write some limitations of Python.
Question 3What is the difference between Script mode and Interactive mode in Python?
Question 4Differentiate between flow chart and algorithm.
Question 5Write a pseudocode that reads two numbers and divide one by another and display the quotient.
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 7Write a pseudocode to print all multiples of 5 between 10 and 25 (including both 10 and 25).
Question 8Write a pseudocode that will perform the following:(a) Read the marks of three subjects: Computer Science, Mathematics and Physics out of...
Question 9Write an algorithm to find the greatest among two different numbers entered by the user.
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 1Breaking down a complex problem into smaller parts is called decomposition.
Question 2Pseudocode is the pictorial representation of an algorithm.
Question 3Python is a dynamically typed language.
Question 4Alt+R is used to repeat the last typed command in Python shell.
Question 5Print and print are same in Python.
Question 6The sep argument is used with print() method.
Question 7Python is a compiled high-level language.
Question 8Python is a cross-platform language.
Question 9The default extension of Python program file is *.pyt.
Question 10Python Editor refers to Script mode in Python.
Question 11Ctrl+Q shortcut key combination is used to exit Python.
Question 12Python code can run on a variety of platforms.
Question 13A rectangle represents a process in a flow chart diagram.