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 function of a 'Data Engineer' in a data team?
- Which of the following algorithms is a 'boosting' ensemble method?
- Which of the following best describes the difference between simple moving averages and exponential smoothing in forecasting?
- Which phase of the Software Development Lifecycle (SDLC) focuses on gathering detailed functional and non-functional requirements to define project scope c...
- The four types of data analytics in increasing order of complexity and value are:
- When identifying business problems for data analysis, what is a critical first step?
- In a real-time video conferencing application, users report delays and poor video quality. Which QoS mechanism would most effectively address the issue?
- Which visualization is best for showing trends over time?
- Binary search on a sorted array has what worst-case asymptotic comparison count?
- In which scenario is stratified sampling most suitable?
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)