Question
What will be the output of the following code snippet demonstrating abstraction in Python? from abc import ABC, abstractmethod class Shape(AB
- C : @abstractmethod def area(self): pass class Circle(Shape): def __init__(self, radius): self.radius = radius def area(self): return 3.14 * self.radius * self.radius circle = Circle(5) print(circle.area())
More Basics of Computers Questions
- Definition of 2NF
- Which of the following is a primary reason for using digital signatures in modern cryptography?
- Which of the following SQL queries is used to find the second highest salary from an employee table? SELECT MAX (salary) FROM employee WHERE ...
- What is the space complexity of program to reverse stack recursively?
- What will be the output of the following code when the pop method is executed? class Stack: def __init__(self): self.stack = [] def push(s...
- Which of the following query will return the third-highest salary from an Employee table in SQL?
- In Object-Oriented Programming, which of the following Java code snippets correctly demonstrates inheritance ? class Animal { ...
- What is the primary difference between SQL Injection and Command Injection?
- Which of the following is NOT a property of database transactions according to the ACID model?
- In the context of web development, which of the following best describes the primary difference between HTTP and HTTPS?
Relevant for Exams:
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)