Setting up Apache Spark on a Windows machine can be a straightforward process if you follow the right steps. This guide will walk you through installing Java, configuring environment variables, downloading and setting up Spark, and finally running Spark on your Windows system. Let’s get started!
Capgemini | Data Engineer Interview Questions – Set 1
In this article, we will see the list of questions asked in Capgemini Company Interview for Data Engineers.
Let’s see the Questions:
1) Describe a recent project you’ve worked on.
Wipro | Big Data Engineer Interview Questions – Set 1
In this article, we will see the list of questions asked in Wipro Company Interview for Data Engineers.
Let’s see the Questions:
1) Describe the concept of imputations (handling missing data) in Spark.
AWS GLUE | Data Engineer Interview Questions
In this article, we’ll explore a list of AWS Glue interview questions commonly asked to candidates with 3+ years of experience. Let’s see the Questions.
EY | Big Data Engineer Interview Questions
In this article, we will see the list of questions asked in EY Company Interview for 2+ year of experience candidate in big data field.
Python | How to execute Shell/Linux commands using python?
Python is a versatile programming language that not only excels in data analysis, web development, and scripting but also provides the ability to interact directly with the operating system. One of the powerful features of Python is its capability to execute shell or Linux commands directly from within a Python script. This functionality can be very useful for automating system tasks, managing files, or integrating Python with other tools. In this article, we’ll explore various methods for executing shell/Linux commands in Python.
Python | Convert .py file into .pyc file
Python, known for its simplicity and readability, allows developers to write code in .py files. These files contain the human-readable source code that is executed by the Python interpreter. However, Python also uses .pyc files, which contain the compiled bytecode. Converting .py files into .pyc format can enhance performance and provide basic code protection. This article will guide you through the process of converting .py files into .pyc files.
Python | Difference Between .py And .pyc Files?
Python is a versatile and powerful programming language that is widely used for various applications, from web development to data analysis. When working with Python, you’ll often encounter two types of files: .py and .pyc. Understanding the difference between these files and their purposes can help you better manage and optimize your Python projects. In this article, we’ll explore what .py and .pyc files are, their differences, and why .pyc files are used.
TCS NQT Coding Question-10: Total Fine Collected by Traffic Police
Problem Statement: Particulate matters are the biggest contributors to New-Delhi pollution. The main reason behind the increase in the concentration of Particulate matters include vehicle emission by applying Odd Even Number concept for all types of vehicles. The vehicles with the odd number last digit in the registration number will be allowed on roads on odd dates and those with even number last digit will on even dates.
Given an integer array A[], contains the last digit of the registration number of n vehicles traveling on date d(a positive integer). The task is to calculate the total fine collected by the traffic police department from the vehicles violating the rules.
Note: For violating the rule, vehicles would be fined as x Rs.
TCS NQT Coding Question-9: Single Digit Sum
Problem Statement: An intelligence team has received reports about some threats. The reports consist of numbers in a mysterious way. There is a number “n” and another number “r”. Those numbers are studied thoroughly, and it is concluded that all digits of the number ‘n’ are summed up and this action is needed to be performed ‘r’ number of times. The resultant should also be a single digit that is yet to be deciphered. The task here is to find the single digit sum of the given number ‘n’ by repeating the same action ‘r’ number of times.
If the value of ‘r’ is 0, print the output as ‘0’.