Accenture
Neora Entertainment Interview Questions and Answers
Q1. Fundamentals of data formats used in spark
Data formats used in Spark include JSON, Parquet, Avro, and ORC.
JSON: Lightweight data interchange format
Parquet: Columnar storage format optimized for query performance
Avro: Compact, fast, and efficient binary format
ORC: Optimized Row Columnar format for large-scale data processing
Q2. How to detect web browser
To detect web browser, use navigator.userAgent property.
Use navigator.userAgent property to get the user agent string.
Parse the user agent string to identify the browser.
Use conditional statements to execute browser-specific code.
Consider using a library like Modernizr or jQuery to simplify the process.
Q3. Fundamentals of apache spark and kafka
Apache Spark is a fast and general-purpose cluster computing system. Apache Kafka is a distributed streaming platform.
Apache Spark is used for big data processing and analytics, providing in-memory computing capabilities.
Apache Kafka is used for building real-time data pipelines and streaming applications.
Apache Spark can be integrated with Apache Kafka for real-time data processing.
Both Apache Spark and Apache Kafka are part of the Apache Software Foundation.
Apache Spark sup...read more
Q4. Program for inheritance in kotlin
Inheritance in Kotlin allows a class to inherit properties and methods from another class.
Use the 'open' keyword to mark the superclass as inheritable
Use the 'override' keyword to override a method or property in the subclass
Use the 'super' keyword to call the superclass's implementation of a method or property
Example: class SubClass : SuperClass() { override fun method() { super.method() } }
Q5. What is mixin
Mixin is a way to reuse code in multiple classes without inheritance.
Mixin is a programming concept that allows code to be reused in multiple classes without inheritance.
It is achieved by including a module or class in another class.
Mixins are commonly used in object-oriented programming languages like Ruby and Python.
They help to reduce code duplication and improve code organization.
Example: A class for a car may include a mixin for a GPS system to add GPS functionality.
Q6. What is closure
Closure is a feature in programming languages that allows a function to access variables outside its scope.
Closure is a way to create a function inside another function and access the outer function's variables.
It allows for encapsulation and data privacy.
Closures are commonly used in event handlers and callbacks.
Example: function outer() { let x = 10; function inner() { console.log(x); } return inner; } const closure = outer(); closure(); // Output: 10
More about working at Accenture
Reviews
Interviews
Salaries
Users/Month