PayPal Technical Interview Questions
PayPal Technical Interview Questions and Answers 2023
Find the latest Paypal Technical Interview Questions and answers on this page.
Page Highlights:
- About PayPal
- PayPal Technical Interview Questions
About PayPal
PayPal Holdings, Inc. is an American international financial technology company that operates an online payments system in the majority of countries that enable online money transfers, serving as an electronic alternative to traditional paper methods like cheques and money orders.
Top 20 PayPal Technical Interview Questions
Question 1: What are ACID properties in a database?
Answer:
ACID stands for Atomicity, Consistency, Isolation, and Durability. It’s crucial to make sure the database is consistent both before and after the transaction. All system transactions must follow to a set of characteristics in order for the database to be consistent. These characteristics are referred to as ACID Transaction Properties.
Question 2: Define classloader.
Answer:
Class loaders are responsible for dynamically loading Java classes into the Java Virtual Machine during runtime. They also comprise the Java Runtime Environment.
Question 3: Write a program to find the ASCII value of a character.
Questions 4: What is the optional class in Java 8?
Answer:
Optional is a container object that holds non-null objects. The optional object is used to represent null with a value that is not present. This class has a number of utility methods that make it easier for code to handle data as “available” or “not available” rather than checking for null values.
Question 5: Which is the simplest file structure?
Answer:
The simplest file structure is sequential.
Question 6: What is artificial intelligence?
Answer:
Artificial intelligence is a broad field of computer science concerned with creating intelligent computers capable of doing activities that normally require human intelligence.
Question 7: What is the default thread pool count in the Tomcat server?
Answer:
The most threads that may be active at once is 200, which is the default setting for maxThreads in Tomcat.
Questions 8: What type of parameter passing does Java support?
Answer:
Arguments are always passed by value in Java.
Question 9: Define Node.js
Answer:
Node.js is a free, open-source, cross-platform runtime environment for creating networking and server-side applications. Node.js applications are developed in JavaScript and can run on OS X, Microsoft Windows, and Linux using the Node.js runtime. Node.js also has a large library of JavaScript modules, which greatly enables the development of web applications using Node.js.
Question 10: Write a program for removing duplicate elements in an array.
#include <stdio.h> int duplicates(int arr[], int n) { if (n==0 || n==1) return n; int temp[n]; int j = 0; for (int i=0; i<n-1; i++) if (arr[i] != arr[i+1]) temp[j++] = arr[i]; temp[j++] = arr[n-1]; for (int i=0; i<j; i++) arr[i] = temp[i]; return j; } // Driver code int main() { int arr[] = {10, 20, 20, 30, 40, 40, 40, 50, 50}; int n = sizeof(arr) / sizeof(arr[0]); n = duplicates(arr, n); for (int i=0; i<n; i++) printf("%d ", arr[i]); return 0; }
Question 11: Write a program to reverse elements of an array.
#include <stdio.h> void printReverse(int arr[], int len){ for(int i = len - 1; i >= 0; i--) printf("%d ", arr[i]); } int main() { int arr[] = {10, 20, 30, 40, 50, 60}; int len = sizeof(arr)/sizeof(arr[0]); printf("Array in Reverse:\n"); printReverse(arr, len); return 0; }
Question 12: What is GWT?
Answer:
Google Web Toolkit includes a Java-to-JavaScript compiler as well as a debugging web browser.
Question 13: Is exit a keyword in Java?
Answer:
No. You may utilise the exit method in the System object to forcefully end an application.
Question 14: How can type-insensitive macros be created?
Answer:
A type-insensitive macro is one that executes the same fundamental operation to many data types. The concatenation operator can be used to make a call to a type-sensitive function based on the parameter given to the macro in order to complete this task.
Question 15: What are threads?
Answer:
A thread is the smallest unit of computation that may be performed in an operating system. A thread can exist within a process in the majority of contemporary operating systems, meaning that a single process can hold multiple threads.
Question 16: Write a program to find the last non-zero digit in factorial.
Question 17: How is HashMap implemented in Java?
Answer:
Hashmap includes an array of nodes (also known as a table), each of which contains a key and a value. The class HashMapEntry here serves as a representation of the Node. HashMap essentially stores the key-value information in an array. It determines the index in the array at which the Node may be inserted, and then it does it.
Question 18: What effective data structure is employed in the internal storage representation of RDBMS?
Answer:
B+ tree. The B+ tree makes searching easier because all the data is simply kept in the leaf nodes. The records that must be stored in leaf nodes correspond to this.
Question 19: Define callback function.
Answer:
A callback function is a function that is supplied as an input to another function and is “called back” at a later time. A higher-order function is one that accepts other functions as arguments and provides the logic for when the callback function is executed.
Question 20: Write a code to find all the possible permutations in which (n) people can occupy (r) a number of seats in a classroom.
//Permutations in which n people can occupy r seats #include<stdio.h> //function for factorial int factorial(int num) { int fact=1; for(int i=num; i>=1 ;i--) fact*=i; return fact; } //main program int main() { int n,r; printf("Enter number of people: "); //user input scanf("%d",&n); printf("Enter number of seats: "); //user input scanf("%d", &r); //finding all possible arrangements of n people on r seats // by using formula of permutation int p = factorial(r)/factorial(r-n); //printing output printf("Total possible arrangements: %d",p); return 0; }

Login/Signup to comment