Computer Science
Assertion (A): The shortcut key to run a Python program from script mode is F1.
Reasoning (R): Python programs/scripts are stored in files with .py extension.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Getting Started
1 Like
Answer
A is false but R is true.
Explanation
The shortcut key to run a Python program from script mode is F5. Python programs/scripts are stored in files with .py or .pyw extension.
Answered By
1 Like
Related Questions
Assertion (A): Python uses an interpreter to convert source code to object code.
Reasoning (R): Python interpreter scans and translates the whole program into machine code in one go.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion (A): To print the value of a variable, Python uses print() method.
Reasoning (R): print() method displays the content on the system screen or console.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion (A): Python is the fastest language.
Reasoning (R): Python is an interpreted language.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion (A): Python is a case-sensitive language.
Reasoning (R): Python is easy to understand as it has a clearly defined syntax and simple structure.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.