Question
Consider the following Python code snippet: class Employee: def __init__(self, name, age): self.name = name self.age = age def display(self): print(f"Name: {self.name}, Age: {self.age}") e1 = Employee("John", 30) e1.salary = 50000 e1.display() print(e1.salary) What will happen when the above code is executed?
More Data Analytics Languages Questions
- What is the primary advantage of using the ARIMA (AutoRegressive Integrated Moving Average) model for forecasting time series data?
- Which of the following is the most effective data collection method for gathering real-time data from a website or application?
- In which phase of the SDLC is User Acceptance Testing (UAT) most commonly performed?
- In hypothesis testing, which of the following best describes the p-value?
- Which of the following statements correctly differentiates between continuous and categorical data?
- What is a 'KPI' in data analytics?
- Which of the following is the most appropriate way to handle missing values when performing data analysis in Excel using a Pivot Table?
- Which test is commonly used to check stationarity in time series data?
- What is inheritance in Python?
- In the context of banking, which of the following is a primary use case of Data Science?
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)