In Python, function names are case-sensitive. The correct function is print(), not Print().
When you write Print("Hello world"), Python tries to find a variable or function named Print, which doesn’t exist — hence it raises a NameError.
Example Output:
✔️ Key Point:
Always remember that Python is case-sensitive, so print() must be written in all lowercase.
Read the following statements and arrange them in the correct order.
A. Exception is raised
B. Executes exception
C. Program searches for exception handler
D. Create exception object
E. An error encountered
Choose the correct answer from the options given below:
When an exception occurs in a program, the sequence is as follows:
E → An error is encountered
D → An exception object is created
A → The exception is raised (thrown)
C → The program searches for an appropriate exception handler
B → If found, the exception handler (catch block) is executed
Hence, the correct order is E → D → A → C → B.
In SQL, the LIKE operator is used for pattern matching with wildcard characters:
% → Matches any sequence of characters (including zero characters).
_ → Matches exactly one character.
Example:
This will return all names starting with ‘A’ (like Amit, Anita, Arun, etc.).
| List I | List II |
|---|---|
| A. Data redundancy | I. Updating the structure of a data file requires modifying all application programs accessing the file |
| B. Data inconsistency | II. Duplication of data at different places (files) |
| C. Data isolation | III. Separation of resource or data modification made by different transactions |
| D. Data dependency | IV. Mismatch of data maintained at different places |
| List I (Concept) | Matched With (List II) | Explanation |
|---|---|---|
| A. Data Redundancy | II. Duplication of data at different places (files) | Data redundancy occurs when the same data is stored in multiple files or locations, leading to unnecessary duplication and wasted storage space. |
| B. Data Inconsistency | IV. Mismatch of data maintained at different places | When data is redundant and one copy is updated but others are not, inconsistencies occur — resulting in mismatched or unreliable data. |
| C. Data Isolation | III. Separation of resource or data modification made by different transactions | In file systems, data is often scattered across different files, making it difficult to access or modify related information simultaneously. This problem is known as data isolation. |
| D. Data Dependency | I. Updating the structure of a data file requires modification in all application programs accessing the file | Data dependency means that the data structure and application programs are tightly coupled. Any change in file structure requires modification in all programs that use it. |
Online Test Series,
Information About Examination,
Syllabus, Notification
and More.
Online Test Series,
Information About Examination,
Syllabus, Notification
and More.