Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
State True or False:
“raise and assert statements are used to raise exceptions”

1 day ago | [YT] | 1

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
State whether the following statement is True or False: An exception may be raised even if the program is syntactically correct.

1 day ago | [YT] | 1

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
State whether the following statement is True or False: The finally block in Python is
executed only if no exception occurs in the try block.

1 day ago | [YT] | 1

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
State whether the following statement is True or False:
While handling exceptions in Python, name of the exception has to be compulsorily added with except clause.

1 day ago | [YT] | 0

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
Consider the statements given below and then choose the correct output from the given options:

N='5'
try:
print('WORD' + N, end='#')
except:
print('ERROR',end='#')
finally:
print('OVER')

1 day ago | [YT] | 0

Python Tyro

‪@pythontyro4579‬Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
Assertion (A): - In Python, statement return [expression] exits a function.
Reasoning (R): - Return statement passes back an expression to the caller.
A return statement with no arguments is the same as return None.

3 days ago | [YT] | 1

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
Assertion (A): Built-in function is predefined in the language that are used directly.
Reason (R): print ( ) and input ( ) are built-in functions

3 days ago | [YT] | 1

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices
Assertion (A): Global variable is declared outside the all the functions.
Reasoning (R): It is accessible through out all the functions.

3 days ago | [YT] | 1

Python Tyro

‪@pythontyro4579‬ Subscribe and Share Now ‪
CBSE Class 11 & 12 Computer Science And Informatics Practices

Assertion(A): If the arguments in a function call match the number and order of arguments as
defined in the function definition, such arguments are called the positional arguments.
Reasoning(R): During a function call, the argument list first contains default arguments
followed by positional arguments.

3 days ago | [YT] | 1

Python Tyro

Next Video

4 days ago | [YT] | 1