62 solutions available
Question 1Assertion (A): Python is an object-oriented programming language.Reasoning (R): Using Python, any software can be designed. Everything in...
Question 2Assertion (A): Python uses an interpreter to convert source code to object code.Reasoning (R): Python interpreter is a special virtual...
Question 3Assertion (A): To print the value of a variable, Python uses print() method.Reasoning (R): print() method displays the content on the...
Question 4Assertion (A): Python is a cross-platform language.Reasoning (R): Python code can run on a variety of platforms such as windows, Macintosh...
Question 5Assertion (A): Python is a dynamically typed language.Reasoning (R): Python interpreter assigns variables a data type at runtime based on...
Question 6Assertion (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 7Assertion (A): Python IDLE or Interpreter provides two modes to work with, create and run the scripts or code.Reasoning (R): Interactive...
Question 8Assertion (A): Python is a general-purpose language, meaning it can be used to create a variety of different programs.Reasoning (R): Python...
Question 1Programs are the set of instructions given to a computer to perform a particular task.
Question 2Python was developed by Guido Van Rossum.
Question 3Python is called a/an interpreted language.
Question 4Python is a/an case-sensitive language in terms of its syntax.
Question 5In Python, a syntax error is detected by the interpreter at runtime.
Question 6Python is a/an platform independent language.
Question 7To start Python from the command prompt, use the python command.
Question 8Python programs are saved using the .py or .pyw extension.
Question 9Python programming can be done in interactive and script modes.
Question 10Interactive mode does not save the commands entered by you in the form of a program.
Question 11The shortcut key to run Python script is F5.
Question 1Python was developed by ............... .Charles BabbageGuido van RossumTim Berners LeeRobert E. Kahn
Question 2Which of the following is syntactically correct text?"This is great!"'she shouted 'HELLO' loudly'"Goodbye'"This "course" is good"
Question 3Python language is ............... .FreeOpen SourceFree and Open SourceProprietary
Question 4Identify the correct print() statement:print(Hello)print("Hello")print('Hello")print("Hello')
Question 5Which of the following is the shortcut key combination for exiting Python shell?F5Alt+F1Ctrl+ECtrl+Q
Question 6The extension for a Python file is given as:.pt.pwy.py or .pyw.yppy
Question 7Python is a/an ............... language.CompiledInterpretedCompiled & InterpretedNone of these
Question 8The interactive interpreter of Python is termed as ............... .Python shellPython Script modePython Editor modePython command line
Question 9The three greater than signs (>>>) are called the Python ............... .CursorCommand promptPointerBlinking cursor
Question 10Single-line comments in Python begin with ............... symbol.%"'''#
Question 11Which of the following codes is correct?1.print("Programming is fun") print("Python") print("Computer Science") 2.print ("Programming is...
Question 12Python is a case-sensitive language. This means ............... .Capital and small letters are same for PythonPython doesn't care about...
Question 13............... mode of Python gives instant result of typed statement.Interactive modeScript modeBoth Interactive and Script modeNone of...
Question 1When was Python introduced?
Question 2Who developed Python and which two languages contributed to Python as a programming language?
Question 3Python is free and open-source. What do you understand by this feature?
Question 4Is Python case-sensitive?
Question 5What is IDLE?
Question 6Differentiate between displaying and printing method in Python.
Question 7Briefly explain the salient features of Python.
Question 8What do you understand by cross-platform software with respect to Python?
Question 9What are the advantages of Python programming language?
Question 10In how many different ways can you work in Python?
Question 11What are the advantages/disadvantages of working in Interactive mode in Python?
Question 12Write some limitations of Python.
Question 13What is the difference between Script mode and Interactive mode in Python?
Question 14Write 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 15Write the output of the following:num1 = 4 num2 = num1 + 1 num1 = 2 print(num1, num2)
Question 16Consider the statements given below and write Python command to display these statements in both Interactive and Script mode.Python is...
Question 17Write a code that prints your full name and your birthday as separate strings.
Question 18Record 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 19Use IDLE to calculate:(a) 6+4*10(b) (6+4) *10
Question 20Try the following code on the Python shell and evaluate the output generated:>>> print (3.14159*7) >>> print('I am a...
Question 1Python is a dynamically typed language.
Question 2Alt+R is used to repeat the last typed command in Python shell.
Question 3Print and print are same in Python.
Question 4The sep argument is used with print() method.
Question 5Python is a compiled high-level language.
Question 6Python is a cross-platform language.
Question 7Python is an interpreted language, not a compiled language.
Question 8Python is a free, open-source and portable language.
Question 9Python Editor refers to Script mode in Python.
Question 10Ctrl+Q shortcut key combination is used to exit Python.