Python Tutorial For Beginners With Examples – Learn Python In One Day

Python Tutorial For Beginners With Examples. Learn Python In One Day by following this blog post. Coding compiler has done it’s best to share this Python tutorial with examples. Let’s start learning Python programming in a day to get started with Python language. All the best for your future and happy python learning.

Python Tutorial For Beginners

The first question, what is Python? According to Guido van Rossum, the father of Python, Python is:

A high-level programming language whose core design philosophy is code readability and syntax that allows programmers to express their ideas with very little code.

For me, the primary reason to learn Python is that it is a language that can be gracefully programmed. It’s easy and natural to write code and implement my ideas.

What is Python Used For?

Another reason is that we can use Python in many places: data science, web development, machine learning, and so on, all can be developed using Python. Google, Quora, Pinterest, and Spotify all use Python for their backend Web development. Let’s learn about Python now.

Python Basics For Beginners

Here we go with learning Python in one day.

1. Python Variables

You can think of a variable as a word for storing a value. Let’s see an example.

It’s easy to define a variable in Python and assign it a value. If you want to store the number one to the variable “one,” let’s try it out:

In addition to an integer, we can also use the True / False, string, float and other data types.

 # booleanstrue_boolean = Truefalse_boolean = False# stringmy_name = "Leandro Tk"# floatbook_price = 15.80

 2. Python Control flow: conditional statement

” If ” uses an expression to determine whether a statement is True or False. If True, execute the code in if, as shown in the following example:

if True:
  print(“Hello Python If”)if 2 > 1:
  print(“2 is greater than 1”)

2 is larger than 1, so the print code is executed.

When the expression in ” if ” is false, the ” else ” statement will be executed.

1 is smaller than 2, so the code in ” else ” will be executed.

You can also use the “elif ” statement:

3. Python Loop and iterate

In Python, we can iterate in different ways. I will say while and for.

Python While Loop: While the statement is True, while the code block inside will be executed. So the code below prints 1 through 10.

The while loop needs a loop condition, and if condition, on is always true, it iterates all the time, with a loop condition of false when num’s value is 11.

Another piece of code can help you better understand the use of the while statement:

The loop condition is True so it iterates until it’s False.

Python For loop : You can apply the variable ” num ” on the block of code , and the “for” statement will iterate over it for you. This code will print the same code as in while : from 1 to 10.

Did you see? This is too simple. The range of i starts from 1 until the eleventh element (10 is the tenth element).

Python List: collection | array | data structure

Suppose you want to store the integer 1 in a variable, but you also want to store 2 and 3, 4, 5 …

Instead of using hundreds or thousands of variables, I have other ways to store these integers that I want to store? As you have already guessed, there are other ways to store them.

The list is a collection that can store a list of values (just like what you want to store), then let’s use it:

This is really easy. We created an array called my_integer and put the data in it.

Maybe you might ask, “How do I get the value in the array?”

Ask good. The list has a concept called indexing. The following table of the first element is index 0 (0). The second index is 1, and so on, you should understand.

In Python’s syntax, it is also good to understand:

If you do not want to save the whole number. You just want to save some strings, like your relative’s list of names. My look is similar to this:

Its principle is the same as storing an integer, very friendly.

We only learned how the index of a list works and I also need to tell you how to add an element to the list’s data structure (add an item to the list).

The most common way to add new data to the list is to splicing. Let’s take a look at how it is used:

Stitching super easy, you only need to put an element (such as “valid machine”) as the splicing parameters.

Well, the list of knowledge is enough, let’s take a look at the other data structures.

Python Dictionary: Key-Value Data Structure

Now we know that List is an indexed integer number set. But what if we do not use integer numbers as indexes? We can use some other data structures, such as numbers, strings or other types of indexes.

Let’s learn about this dictionaries data structure. A dictionary is a collection of key-value pairs. The dictionary is about this long:

Key is the index to value . How do we access the dictionary value ? You should guess, that is the use of key. Let’s try it out

We have a key (age) value (24) that uses a string as the key integer for value .

I created a dictionary about me that contains my name, nickname, and nationality. These attributes are the keys in the dictionary.

Just as we have learned of using an index to access a list, we also use an index (the key in the dictionary is an index) to access the value stored in the dictionary.

As we use the list, let’s learn how to add elements to the dictionary. The dictionary mainly points to the value of the key. The same is true when we add elements:

We only need to point a key in a dictionary to a vvalue. No hardship, right?

Python Iteration: Loop through the data structure

As we learned in the basics of Python, List iteration is simple. We Python developers usually use For loops. Let’s try it out

For each book on the shelf, we print ( can do anything ) to the console. Super easy and intuitive. This is the beauty of Python.

We can also use the for loop for the hash data structure, but we need to use the key:

The above is an example of how to use a For loop in a dictionary. For each key in the dictionary, we print out the value of key and key.

We named the two parameters key and value, but this is not necessary. We are free to name it. Let’s take a look:

You can see that we use the attribute as the key parameter in the dictionary, which has the same effect as using key naming. Really great!

Python Classes & Objects

Some theories:

Objects are representations of real-world entities, such as cars, dogs, or bicycles. These objects share two main features in common: data and behavior.

Cars have data such as the number of wheels, the number of doors and the seat space, and they can show their behavior: they can accelerate, stop, show how much fuel left, and many more.

We treat the data as attributes and behaviors in object-oriented programming. Again expressed as:

Data → Properties and Behaviors → Methods

The class is a blueprint to create a single object. In the real world, we often find many objects of the same type. For example, cars. All cars have the same structure and model (all with an engine, wheels, doors, etc.). Each car is constructed from the same blueprint and has the same components.

Python object-oriented programming model: ON

Python, as an object-oriented programming language, has the notion of classes and objects.

A class is a blueprint that is a model of the object.

So, a class is a model or a way to define properties and behaviors (as we discussed in the theory section). For example, a vehicle class has its own properties that define what kind of vehicle this object is. The attributes of a car are the number of wheels, energy type, seat capacity and a maximum speed of these.

With that in mind, let’s take a look at the syntax of Python’s classes :

Above the code, we use the class statement to define a class. Is not it easy?

An object is a class instantiation, which we can instantiate by class name.

Here, car is an object (or instantiation) of class Vehicle.

Remember the vehicle class has four attributes: the number of wheels, fuel tank type, seat capacity and maximum speed. When we create a new vehicle object to set all the attributes. So here, we define a class that accepts parameters when it’s initialized:

This init method. We call this a constructor. So when we create a vehicle object, we can define these properties. Imagine we like Tesla Model S, so we want to create an object of this type. 

It has four wheels, uses electric energy, five seats and a maximum speed of 250 kilometers (155 miles). Let’s start by creating an object like this :

Four + energy + five + maximum speed of 250 km.

All the properties have been set. But how do we access these property values? We send a message to the object to request that value from it. We call this method. It is the behavior of the object. Let’s achieve it:

This is the implementation of the two methods number_of_wheels and set_number_of_wheels. We call it getter & setter. Because the first function is to get the property value, the second is to set a new value for the property.

In Python, we can use @property (modifier) to define getters and setters. Let’s take a look at the actual code:

And we can use these methods as properties:

This is slightly different from the method definition. The method here is based on the property. For example, when we set the new number of tires, we do not regard these two as parameters, but set the value 2 to number_of_wheels. This is a way of writing python-style getter and setter code.

But we can also use this method for other things, such as the ” make_noise ” method. let us see:

When we call this method, it simply returns a string  VRRRRUUUUM. 

Python Package: Hide information

Encapsulation is a mechanism that limits direct access to object data and methods. At the same time, however, it makes it easier to manipulate data (object methods).

“Package can be used to hide data members and member functions in accordance with this definition, it means that the package. Objects inside an external view showing typically hidden in the object definition.” – Wikipedia

All internal representations of objects are hidden from the outside. Only the object itself can interact with its internal data.

First, we need to understand how open and closed instance variables and methods work.

Public instance variables

For the Python class, we can initialize a public instance variable in our constructor method. Let’s take a look at this one:

In this construction method:

Here, we apply the first_name value as a parameter to the public instance variables.

In the class:

Here, we do not need to first_name as a parameter, all instance objects have a class attribute initialized with TK.

Too cool, and now we have learned that we can use public instance variables and class properties. Another interesting thing about the public part is that we can manage the values of the variables. What do I mean? Our object can manage its variable values: Get and Set variable values.

Still in the Person class, we want to set another value for its first_name variable:

This is fine, we just set another value (kaio) for the first_name instance variable and update the value. It’s that simple. Because this is a public variable, we can do that.

Python Non-public instance variables

We do not use the term “private” here because all of the properties in Python are not really private (there is usually no unnecessary amount of work). -  PEP 8

As public instance variable(public instance variables), we can define non-public instance variable(non-public instance variables) inside the constructor or class.

The difference in the syntax is that for non-public instance variables(non-public instance variables), an underscore (_) is used before the variable name.

“Private ‘instance variables that are not accessible from inside the object do not exist in Python, however, there is a convention that most Python code will follow: underscore names (such as _spam) should be considered as Non-public part of API (whether function, method, or data member) “

Here is sample code:

Have you seen the email variable yet? This is how we define non-public variables:

We can access and update it. Non-public variables are just a matter of usage and should be treated as a non-public part of the API.

So we use a method within the class definition to implement this functionality. Let’s implement two methods (email and update_email) to deepen our understanding:

Now we can use these two methods to update and access non-public variables. Here is an example

  1. We initialized a new object using first_name TK and email [email protected]
  2. Use the method to access a non-public variable email and output it
  3. Try setting a new email outside the class
  4. We need to treat non-public variables as non-public parts of the API
  5. Use our instance method to update the non-public variables
  6. Success! We’ve updated it inside the class using helper methods.

Python Public method

For public methods, we can also use them in classes:

Let’s test it:

That’s fine – we have no problems using it in our class.

Python Non-public methods

But with a non-public method, we can not do that. If we want to implement the same Person class, we now use the underscore (_) show_age non-public method.

Now, we will try to invoke this non-public method with our object:

We can access and update it. The non-public method is just a convention and should be considered as a non-public part of the API.

Here’s an example of how we can use it:

Here’s a _get_age non-public method and a show_age public method. show_age can be used by our object (not in our class), while _get_age is only used in our class definition (in the show_age method). But again, this is usually the practice.

Python Package summary

Through the package, we can ensure that the internal representation of the object is hidden from the outside.

Python Inheritance: Behavior and Features

Some objects have something in common: their behavior and characteristics.

For example, I inherited some of my father’s features and behaviors. I inherited the characteristics of his eyes and hair, as well as his impatience and introverted behavior.

In object-oriented programming, a class can inherit the common characteristics (data) and behaviors (methods) of another class.

Let’s look at another example and implement it in Python.

Imagine the car. The number of wheels, seat capacity, and maximum speed are all attributes of a car. We can say that the ElectricCar class inherits these same properties from the normal Car class.

The realization of our Car class:

Once initialized, we can use all created instance variables. awesome.

In Python, we inherit the parent class as a child argument. An ElectricCar class can inherit our Car class.

It’s that simple. We do not need to implement any other method because this class has completed the inheritance of the parent class (inherited from the Car class). Let’s prove:

Thats beautiful. Original Source.

Other Python Tutorials

What is Python – A Beginners Guide

Advantages of Python Programming

Advantages of Python And Disadvantages of Python

Advantages of Python And Disadvantages of Python. Here in this blog post Coding compiler sharing a detailed article on python advantages and python disadvantages. Let’s start reading, happy learning.

Advantages of Python

  1. Easy Syntax
  2. Readability
  3. High-Level Language
  4. Object-oriented programming
  5. It’s Opensource and Free
  6. Cross-platform
  7. Widely Supported
  8. It’s Safe
  9. Batteries Included
  10. Extensible

Related Article: What is Python – A Beginners Guide

    Python Advantages

    Let’s discuss about Advantages of Python in detail.

    Easy Syntax of Python

    Python’s syntax is easy to learn, so both non-programmers and programmers can start programming right away.

Very Clear Readability of Python

Python’s syntax is very clear, so it is easy to understand program code. (Python is often referred to as “executable pseudo-code” because its syntax mostly follows the conventions used by programmers to outline their ideas without the formal verbosity of code in most programming languages.
In other words, syntax of Python is almost identical to the simplified “pseudo-code” used by many programmers to prototype and describe their solution to other programmers. Thus Python can be used to prototype and test code which is later to be implemented in other programming languages).

Python High-Level Language

Python looks more like a readable, human language than like a low-level language. This gives you the ability to program at a faster rate than a low-level language will allow you.

Python Object-oriented programming

Object-oriented programming allows you to create data structures that can be re-used, which reduces the amount of repetitive work that you’ll need to do. Programming languages usually define objects with namespaces, like class or def, and objects can edit themselves by using keyword, like this or self.
Most modern programming languages are object-oriented (such as Java, C++, and C#) or have support for OOP features (such as Perl version 5 and later). Additionally, object-oriented techniques can be used in the design of almost any non-trivial software and implemented in almost any programming or scripting language.
Python’s support for object-oriented programming is one of its greatest benefits to new programmers because they will be encountering the same concepts and terminology in their work environment. If you ever decide to switch languages or use any other for that fact, you’ll have a significant chance that you’ll be working with object-oriented programming.

Python Is Open-Source and Free

Python is both free and open-source. The Python Software Foundation distributes pre-made binaries that are freely available for use on all major operating systems called CPython. You can get CPython’s source-code, too. Plus, you can modify the source code and distribute as allowed by CPython’s license.

Python is a Cross-platform

Python runs on all major operating systems like Microsoft Windows, Linux, and Mac OS X.

Python Widely Supported Programming Language

Python has an active support community with many websites, mailing lists, and USENET “netnews” groups that attract a large number of knowledgeable and helpful contributes.

Python is a Safe

Python doesn’t have pointers like other C-based languages, making it much more reliable. Along with that, errors never pass silently unless they’re explicitly silenced. This allows you to see and read why the program crashed and where to correct your error.

Python Batteries Included Language

Python is famous for being the “batteries are included” language. There are over 300 standard library modules which contain modules and classes for a wide variety of programming tasks.
For example the standard library contains modules for safely creating temporary files (named or anonymous), mapping files into memory (including use of shared and anonymous memory mappings), spawning and controlling sub-processes, compressing and decompressing files (compatible with gzip or PK-zip) and archives files (such as Unix/Linux “tar”).
Accessing indexed “DBM” (database) files, interfacing to various graphical user interfaces (such as the TK toolkit and the popular WxWindows multi-platform windowing system), parsing and maintaining CSV (comma-separated values) and “.cfg” or “.ini” configuration files (similar in syntax to the venerable WIN.INI files from MS-DOS and MS-Windows), for sending e-mail, fetching and parsing web pages, etc. It’s possible, for example, to create a custom web server in Python using less than a dozen lines of code, and one of the standard libraries, of course.

Python is Extensible

In addition to the standard libraries there are extensive collections of freely available add-on modules, libraries, frameworks, and tool-kits. These generally conform to similar standards and conventions.
For example, almost all of the database adapters (to talk to almost any client-server RDBMS engine such as MySQL, Postgres, Oracle, etc) conform to the Python DBAPI and thus can mostly be accessed using the same code. So it’s usually easy to modify a Python program to support any database engine.

Disadvantages of Python

  1. Slower Speed
  2. Too Easy

Python is Slower Speed

Python is executed by an interpreter instead of compilation, which causes it to be slower than if it was compiled and then executed. However, for most applications, it is by far fast enough. One Python idiom is “Speed isn’t a problem until it’s a problem.”

Python is Too Easy

When one has mastered Python one can become so accustomed to its features, particularly its dynamic late-binding model and its many libraries, that it can be difficult to learn and become comfortable in other programming languages.
Specifically, the need to declare variable “types” and to “cast” values from one type to another and the syntactic requirements for adding semi-colons and curly braces used by other programming languages can be viewed as tedious or onerous by experienced Python programmers.
Related Articles:
What is Machine Learning?
What is Robotic Process Automation?

Mulesoft Interview Questions And Answers For Experienced

Mulesoft Interview Questions And Answers For Experienced 2018. Here Coding compiler presenting a list of 25 Mule ESB interview questions and answers for experienced and freshers. This list of Mulesoft questions will help you to understand what kind of questions will be asked in Mule ESB interviews. All the best for your Mulesoft job interview and happy learning.

Mulesoft Interview Questions

  1. What is Mulesoft?
  2. What is Mule ESB?
  3. What is MuleSoft Anypoint platform used for?
  4. Is MuleSoft open source?
  5. What is Mulesoft used for?
  6. Is Mulesoft a middleware?
  7. Why do we need ESB?
  8. What are Web Services?
  9. What is the use of Web service?
  10. What are the different types of Web services?
  11. What is a REST web service?
  12. What are the advantages of RESTful web services?
  13. What is SOAP Web Service?
  14. What are the advantages of Soap Web Services?
  15. What is the difference between SOAP and REST?

Mulesoft Interview Questions And Answers

Mulesoft Interview Questions # 1) What is Mulesoft?

Answer ) MuleSoft provides the most widely used integration platform (Mule ESB & CloudHub) for connecting SaaS & enterprise applications in the cloud and on-premise.

Mulesoft Interview Questions # 2) What is Mule ESB?

Answer ) Mule ESB is the runtime engine of Anypoint Platform, is a lightweight Java-based enterprise service bus (ESB) and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data.

Mulesoft Interview Questions # 3) What is MuleSoft Anypoint platform used for?

Answer) MuleSoft’s Anypoint Platform of integration products is designed to tie together software as a service (SaaS) and on-premises software.

Mulesoft Interview Questions # 4) Is MuleSoft open source?

Answer ) MuleSoft is open source technology and it provides open source SOA middleware and related products.

Mulesoft Interview Questions # 5) What is Mulesoft used for?

Answer ) Mulesoft is an integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data.

Mule ESB Interview Questions # 6) Is Mulesoft a middleware?

Answer ) Mule Enterprise Service Bus is a middleware technology that quickly, easily, and securely connects the enterprise. Unlike typical middleware software, Mule as an ESB is a Java-based middleware solution that is easy to use and easy to scale.

Mule ESB Interview Questions # 7) Why do we need ESB?

Answer ) ESB, a middleware technology, is a Bus-like architecture used to integrate heterogeneous systems. In ESB, each application is independent and yet able to communicate with other systems. It, thus, prevents scalability issues and ensures that communication happens only through it.

Mule ESB Interview Questions # 8) What are Web Services?

Answer ) Web service is a functionality or a small piece of program in any programming language that can be accessed over HTTP. Message format can be XML or JSON or any other program as long as the other programs can understand and communicate.

A Web service can be of synchronous or asynchronous type. Any web service has a server-client relationship and it can have multiple clients.

Mule ESB Interview Questions # 9) What is the use of Web service?

Answer ) Web services are XML-based information exchange systems that use the Internet for direct application-to-application interaction. These systems can include programs, objects, messages, or documents. A web service is a collection of open protocols and standards used for exchanging data between applications or systems.

Mule ESB Interview Questions # 10) What are the different types of Web services?

Answer ) There are mainly two types of web services.

  • SOAP web services.
  • RESTful web services.

Mule ESB Interview Questions

Mule ESB Interview Questions # 11) What is a REST web service?

Answer ) Representational State Transfer (REST) is an architectural style that specifies constraints, such as the uniform interface, that if applied to a web service induce desirable properties, such as performance, scalability, and modifiability, that enable services to work best on the Web.

Mule ESB Interview Questions # 12) What are the advantages of RESTful web services?

Answer ) Advantages of RESTful Web Services

Fast: RESTful Web Services are fast because there is no strict specification like SOAP. It consumes less bandwidth and resource.

Language and Platform independent: RESTful web services can be written in any programming language and executed in any platform.

Can use SOAP: RESTful web services can use SOAP web services as the implementation.

Permits different data format: RESTful web service permits different data format such as Plain Text, HTML, XML and JSON.

Mule ESB Interview Questions # 13) What is SOAP Web Service?

Answer ) SOAP stands for Simple Object Access Protocol. It is a XML-based protocol for accessing web services. SOAP is a W3C recommendation for communication between two applications.

SOAP is XML based protocol. It is platform independent and language independent. By using SOAP, you will be able to interact with other programming language applications.

Mule ESB Interview Questions # 14) What are the advantages of Soap Web Services?

Answer ) WS Security: SOAP defines its own security known as WS Security.

Language and Platform independent: SOAP web services can be written in any programming language and executed in any platform.

Disadvantages of Soap Web Services:

Slow: SOAP uses XML format that must be parsed to be read. It defines many standards that must be followed while developing the SOAP applications. So it is slow and consumes more bandwidth and resource.

WSDL dependent: SOAP uses WSDL and doesn’t have any other mechanism to discover the service.

Mule ESB Interview Questions # 15) What is the difference between SOAP and REST?

Answer ) SOAP -> REST
1. SOAP is a protocol. -> REST is an architectural style.
2. SOAP stands for Simple Object Access Protocol. -> REST stands for REpresentational State Transfer.
3. SOAP can’t use REST because it is a protocol.  -> REST can use SOAP web services because it is a concept and can use any protocol like HTTP, SOAP.
4. SOAP uses services interfaces to expose the business logic.  -> REST uses URI to expose business logic.
5. SOAP defines standards to be strictly followed. -> REST does not define too much standards like SOAP.
6. SOAP defines standards to be strictly followed. -> REST does not define too much standards like SOAP.
7. SOAP requires more bandwidth and resource than REST. -> REST requires less bandwidth and resource than SOAP.
8. SOAP defines its own security. -> RESTful web services inherit security measures from the underlying transport.
9. SOAP permits XML data format only. -> REST permits different data format such as Plain text, HTML, XML, JSON etc.
10. SOAP is less preferred than REST. -> REST more preferred than SOAP.

Mule ESB Interview Questions And Answers

Mulesoft Interview Questions # 16) What is a Web service API?

Answer ) An API (Application Programming Interface) is the means by which third parties can write code that interfaces with other code. A Web Service is a type of API, one that almost always operates over HTTP (though some, like SOAP, can use alternate transports, like SMTP).

Mulesoft Interview Questions # 17) What is RAML?

Answer ) RAML stands for RESTful API Modeling Language is a YAML-based language for describing RESTful APIs. It provides all the information necessary to describe RESTful or practically RESTful APIs.
RAML is similar to WSDL, it contains endpoint URL, request/response schema, HTTP methods and query and URI parameter.

Mulesoft Interview Questions # 18) Why we use RAML?

Answer) RAML helps client know, what the service is and how all the operations can be invoked. RAML helps the developer in creating the initial structure of this API. RAML can also be used for documentation purpose.

Mulesoft Interview Questions # 19) What are the different types of variables in Mule ESB?

Answer ) The different types of variables in Mule ESB are:

  • Flow Variable
  • Session Variable
  • Record Variable

Mulesoft Interview Questions # 20) What are the various types of Exception Handling in Mule ESB?

Answer ) The types of exception handling in Mule ESB are:

  1. Default Exception Handling
  2. Global Exception Handling
  3. Catch Exception Handling
  4. Choice Exception Handling

Mulesoft Interview Questions # 21) What are the Flow Processing Strategies?

Answer ) Synchronous Flow Processing Strategy, Queued Flow Processing Strategy, Asynchronous Flow Processing Strategy, Thread Per Processing Strategy, Queued Asynchronous Flow Processing Strategy, Non-blocking Flow Processing Strategy, Custom Processing Strategy, Rollback Exception Handling.

Advanced Mulesoft Interview Questions For Experienced

Mulesoft Interview Questions # 22) What is caching and why to use it?

Answer ) Caching is a concept with is used to store frequently used data in the memory, file system or database which saves processing time and load if it would have to be accessed from original source location every time.

Mulesoft Interview Questions # 23) What is Mule Cache Scope and what are its storage types?

Answer ) Caching in Mule ESB can be done by Mule Cache Scope. Mule Cache Scope has 3 storage types –

In-memory: This store the data inside system memory. The data stored with In-memory is non-persistent which means in case of API restart or crash, the data been cached will be lost.

Configuration Properties:

  • Store Name
  • Maximum number of entries
  • TTL (Time to live)
  • Expiration Interval

Managed-store: This stores the data in a place defined by ListableObjectStore. The data stored with Managed-store is persistent which means in case of API restart or crash, the data been cached will no be lost.

Configuration Properties:

  • Store Name
  • Maximum number of entries
  • TTL (Time to live)
  • Expiration Interval
  • Persistence (true/false)

Simple-test-file-store: This stores the data in a file. The data stored with Simple-test-file-store configuration is persistent which means in case of API restart or crash, the data been cached will no be lost.

Configuration Properties:

  • Store Name
  • Maximum number of entries
  • TTL (Time to live)
  • Expiration Interval
  • Persistence (true/false)
  • Name and location of the file

Mulesoft Interview Questions # 24) What are Flow Processing Strategies?

Answer ) Flow processing strategies in Mulesoft are:

  • Synchronous Flow Processing Strategy
  • Queued Flow Processing Strategy
  • Asynchronous Flow Processing Strategy
  • Thread Per Processing Strategy
  • Queued Asynchronous Flow Processing Strategy
  • Non-blocking Flow Processing Strategy
  • Custom Processing Strategy

Mulesoft Interview Questions # 25) How can we create and consume SOAP service in Mule?

Answer ) Creating SOAP Service – We can create a SOAP service same as we create Mule Project With RAML, the only change is instead of RAML we need to import Concert WSDL. Consuming SOAP Service – We can use Web Service Consumer or CXF component in our mule flow to access/consume SOAP service.


  1. JSON Interview Questions
  2. PeopleSoft HRMS Interview Questions
  3. PeopleSoft Functional Interview Questions
  4. PeopleTools Interview Questions
  5. Peoplesoft Technical Interview Questions
  6. 199 Peoplesoft Interview Questions
  7. 200 Blue Prism Interview Questions
  8. Visualforce Interview Questions
  9. Salesforce Interview Questions
  10. 300 SSIS Interview Questions
  11. PHP Interview Questions And Answers
  12. Alteryx Interview Questions
  13. AWS Cloud Support Interview Questions
  14. Google Kubernetes Engine Interview Questions
  15. AWS Devops Interview Questions
  16. Apigee Interview Questions
  17. Actimize Interview Questions
  18. Kibana Interview Questions
  19. Nagios Interview Questions
  20. Jenkins Interview Questions
  21. Chef Interview Questions
  22. Puppet Interview Questions
  23. DB2 Interview Questions
  24. AnthillPro Interview Questions
  25. Angular 2 Interview Questions
  26. Hibernate Interview Questions
  27. ASP.NET Interview Questions
  28. Kubernetes Interview Questions
  29. Docker Interview Questions
  30. CEH Interview Questions

What is Python? – What is Python Used For?

What is Python? – What is Python Used For? A Comprehensive Guide on Python for beginners. Here in this blog post Coding compiler sharing, complete beginners guide on Python programming. After going through this article you will understand exactly what is Python language, what are the uses of Python and what it used for. Let’s start reading about Python. Happy learning.

What is Python?

Python is a general-purpose programming language which can be used for a wide variety of applications. A great language for beginners because of its readability and other structural elements designed to make it easy to understand, Python is not limited to basic usage. In fact, it powers some of the world’s most complex applications and website.

What is Python Programming?

Python is an interpreted language, meaning that programs written in Python don’t need to be compiled in advance in order to run, making it easy to test small snippets of code and making code written in Python easier to move between platforms. Since Python is most operating systems in common use, Python is a universal language found in a variety of different applications.

Who Invented Python?

First developed in the late 80s by Guido van Rossum, Python is currently in its third version, released in 2008, although the second version originally released in 2000 is still in common usage.

Why use Python?

There are several reasons why Python could be a good choice for your next programming project, whether it’s your first attempt at coding or if you’re a seasoned developer looking for a new frontier.

Perhaps most importantly, Python has an enormous user community. This means that no matter what problem you’re trying to solve, chances are there is already strong documentation, tutorials, guides, and examples to help you along your way.

There are numerous integrated development environments and other development tools to choose from, and thousands of open source packages available to extend Python to do just about anything you can think of.

Related Article: What is Machine Learning?

Integrated Development Environments For Python

Benefits of Python

Python is widely used programming language and it is used by big companies like Google, Pinterest, Instagram, Disney, Yahoo!, Nokia, IBM, and many other big companies uses this Python language for their applications.
The Raspberry Pi majorly relies on Python as it’s main programming language too. Learning Python can increase your chances of reaching more hieghts in your career.
Other benefits include:
  1. Python can be used to develop prototypes, and quickly because it is so easy to work with and read.
  2. Most automation, data mining, and big data platforms rely on Python.
  3. Python allows for a more productive coding environment than massive languages like C# and Java. It will save the time of developers.
  4. Python is easy to read and write, even if you’re not a skilled programmer. Anyone can begin working with the Python programming language, all you have to do is practice. Practice makes perfect in Python.
  5. Python powers Django, a complete and open source web application framework.
  6. Python has a massive support from the community across the globe.

What is Python used for?

Python’s ease of use and compatibility across a variety of operating systems makes it an ideal language for a number of uses. Many complex websites either currently or historically have used Python to power their back ends, from YouTube to Instagram to Reddit, and thousands of other well-known examples. But Python isn’t only a web language.

Python is the primary language used for the massive cloud computing project OpenStack, powering private and public clouds in data centers all over the world.

It’s also used to write desktop software, like Calibre, OpenShot, and the original client for BitTorrent. Many application written in other languages, such as Blender, allow for scripting by users in Python. It’s also a popular language for machine learning, scientific, statistical, mathematical, and other types of specialized computing.

Related Article: What is Robotic Process Automation?

Is Python open source?

The Python language itself is managed by the Python Software Foundation, who offer a reference implementation of Python, called, CPython, under an open source license. You can even download the Python source code.

Besides the Python implementation itself is open source, many open source projects make use of Python, and Python has many libraries available for developers under open source licenses.

43 JSON Interview Questions And Answers 2019

JSON Interview Questions And Answers 2019. Here Coding compiler sharing a list of JSON interview questions & answers for freshers and experienced. This list JSON questions will help you to crack your next JSON job interview. All the best for your future and happy learning.

JSON Interview Questions

  1. What does JSON stand for?
  2. What is JSON?
  3. What programming languages supported by JSON?
  4. Is JSON is a language?
  5. What are the properties of JSON?
  6. Why do we use JSON?
  7. What is JSON data?
  8. What is the difference between XML and JSON?
  9. Why JSON format is better than XML?
  10. Is JSON markup language?

JSON Interview Questions And Answers

JSON Interview Questions # 1) What does JSON stand for?

Answer) JSON stands for “JavaScript Object Notation”.

JSON Interview Questions # 2) What is JSON?

Answer) JSON is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA.

JSON Interview Questions # 3) What programming languages supported by JSON?

Answer) JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.

JSON Interview Questions # 4) Is JSON is a language?

Answer) JSON is a data format. It could be classified as a language, but not a programming language. Its relationship to JavaScript is that it shares its syntax (more or less) with a subset of JavaScript literals.

JSON Interview Questions # 5) What are the properties of JSON?

Answer) These properties make JSON an ideal data-interchange language.

JSON is built on two structures:

A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.

An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.

These are universal data structures. Virtually all modern programming languages support them in one form or another. It makes sense that a data format that is interchangeable with programming languages also be based on these structures.

JSON Interview Questions For Freshers

JSON Interview Questions # 6) Why do we use JSON?

Answer) The JSON format is often used for serializing and transmitting structured data over a network connection. It is used primarily to transmit data between a server and web application, serving as an alternative to XML.

JSON Interview Questions # 7) What is JSON data?

Answer) JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. In JSON data is nothing but a information. It is used primarily to transmit data between a server and web application, as an alternative to XML.

JSON Interview Questions # 8) What is the difference between XML and JSON?

Answer) The fundamental difference, which no other answer seems to have mentioned, is that XML is a markup language (as it actually says in its name), whereas JSON is a way of representing objects (as also noted in its name). This is what makes markup languages so useful for representing documents.

JSON Interview Questions # 9) Why JSON format is better than XML?

Answer) JSON and XML used different formats. When compared both JSON is easy to write and use it applications then XML. The XML format can also be determined by the XML DTD or XML Schema (XSL) and can be tested.

The JSON a data-exchange format which is getting more popular as the JavaScript applications possible format. Basically this is an object notation array. JSON has a very simple syntax so can be easily learned.

JSON Interview Questions # 10) Is JSON markup language?

Answer) JSON is like XML in that it is used to structure data in a text format and is commonly used to exchange data over the Internet. JSON is not a markup language. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write.

Top JSON Interview Questions

11) What is JSON Text?

Answer) A JSON text is a sequence of tokens formed from Unicode code points that conforms to the JSON value grammar. The set of tokens includes six structural tokens, strings, numbers, and three literal name tokens.

The six structural tokens:
[ U+005B left square bracket
{ U+007B left curly bracket
] U+005D right square bracket
} U+007D right curly bracket
: U+003A colon
, U+002C comma

These are the three literal name tokens:
true U+0074 U+0072 U+0075 U+0065
false U+0066 U+0061 U+006C U+0073 U+0065
null U+006E U+0075 U+006C U+006C

Insignificant whitespace is allowed before or after any token. Whitespace is any sequence of one or more of the following code points: character tabulation (U+0009), line feed (U+000A), carriage return (U+000D), and space (U+0020). Whitespace is not allowed within any token, except that space is allowed in strings.

JSON Interview Questions # 12) What is JSON Value?

Answer) A JSON value can be an object, array, number, string, true, false, or null.

13) What is JSON Syntax?

A) JSON syntax is derived from JavaScript object notation syntax. Data is in name/value pairs. Data is separated by commas. Curly braces hold objects. Square brackets hold arrays.

JSON Interview Questions # 14) What is JSON Value?

Answer) In JSON, value holds some data. A value can be a string in double quotes, or a number, or true or false or null, or an object or an array. These structures can be nested.

Values in JSON must be one of the following data types:

  • a string
  • a number
  • an object (JSON object)
  • an array
  • a boolean
  • null

15) What is JSON Array?

Answer) An array structure is a pair of square bracket tokens surrounding zero or more values. An array is an ordered collection of values. An array begins with [ (left bracket) and ends with ] (right bracket). Values are separated by , (comma).

The values are separated by commas. The JSON syntax does not define any specific meaning to the ordering of the values. However, the JSON array structure is often used in situations where there is some semantics to the ordering.

Interview Quetions And Answers on JSON

JSON Interview Questions # 16) What is Number in JSON?

Answer) JSON Numbers – A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used. A number is a sequence of decimal digits with no superfluous leading zero.

It may have a preceding minus sign (U+002D). It may have a fractional part prefixed by a decimal point (U+002E). It may have an exponent, prefixed by e (U+0065) or E (U+0045) and optionally + (U+002B) or – (U+002D). The digits are the code points U+0030 through U+0039.

Numeric values that cannot be represented as sequences of digits (such as Infinity and NaN) are not permitted.

17) What is JSON String?

Answer) A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C or Java string.

A string is a sequence of Unicode code points wrapped with quotation marks (U+0022). All code points may be placed within the quotation marks except for the code points that must be escaped: quotation mark (U+0022), reverse solidus (U+005C), and the control characters U+0000 to U+001F. There are two-character escape sequence representations of some characters.

\” represents the quotation mark character (U+0022).
\\ represents the reverse solidus character (U+005C).
\/ represents the solidus character (U+002F).
\b represents the backspace character (U+0008).
\f represents the form feed character (U+000C).
\n represents the line feed character (U+000A).
\r represents the carriage return character (U+000D).
\t represents the character tabulation character (U+0009).

JSON Interview Questions # 18) What is JSON object?

Answer) An object is an unordered set of name/value pairs. An object begins with { (left brace) and ends with } (right brace). Each name is followed by : (colon) and the name/value pairs are separated by , (comma).

19) What is JSON RPA Java?

Answer) JSON-RPC is a simple remote procedure call protocol similar to XML-RPC although it uses the lightweight JSON format instead of XML (so it is much faster).

JSON Interview Questions # 20) What is a JSON parser?

Answer) JSON parser to parse JSON object and MAINTAIN comments. By using JSON, when receiving data from a web server, the data should be always in a string format. We use JSON.parse() to parse the data and it becomes a JavaScript object.

The JSON.parse() method parses a JSON string, constructing the JavaScript value or object described by the string. An optional reviver function can be provided to perform a transformation on the resulting object before it is returned.

Advanced JSON Interview Questions

21) Which browser provides native JSON support?

Answer) All modern browsers support native JSON encoding/decoding (Internet Explorer 8+, Firefox 3.1+, Safari 4+, and Chrome 3+). Basically, JSON.parse(str) will parse the JSON string in str and return an object, and JSON.stringify(obj) will return the JSON representation of the object obj.

JSON Interview Questions # 22) What is the difference between JSON parse and JSON Stringify?

Answer) JSON.stringify() is to create a JSON string out of an object/array. They are the inverse of each other. JSON.stringify() serializes a JS object into a JSON string, whereas JSON.parse() will deserialize a JSON string into a JS object.

23) What is the MIME type of JSON?

Answer) The MIME media type for JSON text is application/json . The default encoding is UTF-8.

JSON Interview Questions # 24) What is the use of JSON Stringify?

Answer) The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer function is specified, or optionally including only the specified properties if a replacer array is specified.

25) What does JSON parse do?

Answer) The JSON.parse() method parses a JSON string, constructing the JavaScript value or object described by the string. An optional reviver function can be provided to perform a transformation on the resulting object before it is returned.

JSON Interview Questions # 26) What is serialization in Javascript?

Answer) The serialize() method creates a URL encoded text string by serializing form values. You can select one or more form elements (like input and/or text area), or the form element itself. The serialized values can be used in the URL query string when making an AJAX request.

27) What is Polyfill?

Answer) The JSON object is not supported in older browsers. We can work around this by inserting a piece of code at the beginning of your scripts, allowing use of JSON object in implementations which do not natively support it (like Internet Explorer 6) is called Polyfill.

JSON Interview Questions # 28) What is toJSON() method in JOSN?

Answer) The toJSON() method returns a string representation of the Date object.

29) What is JSONP?

Answer) JSONP stands for JSON with Padding. JSONP is a method for sending JSON data without worrying about cross-domain issues. JSONP does not use the XMLHttpRequest object. JSONP uses the <script> tag instead.

JSON Interview Questions # 30) What is the difference between JSON and JSONP?

Answer) JSONP is a simple way to overcome browser restrictions when sending JSON responses from different domains from the client. But the practical implementation of the approach involves subtle differences that are often not explained clearly. Here is a simple tutorial that shows JSON and JSONP side by side.

JSON Interview Questions For Experienced

31) What is serialization and deserialization in JSON?

Answer) JSON is a format that encodes objects in a string. Serialization means to convert an object into that string, and deserialization is its inverse operation. When transmitting data or storing them in a file, the data are required to be byte strings, but complex objects are seldom in this format.

JSON Interview Questions # 32) What is serialization of an object?

Answer) To serialize an object means to convert its state to a byte stream so that the byte stream can be reverted back into a copy of the object.

33) What is the use of JSON in Java?

Answer) The Java API for JSON Processing provides portable APIs to parse, generate, transform, and query JSON. JSON (JavaScript Object Notation) is a lightweight, text-based, language-independent data exchange format that is easy for humans and machines to read and write.

JSON Interview Questions # 34) Why do we use JSON in PHP?

Answer) A common use of JSON is to read data from a web server, and display the data in a web page. This chapter will teach you how to exchange JSON data between the client and a PHP server.

35) What is JSON Formatter?

Answer) The JSON Formatter & Validator helps debugging JSON data by formatting and validating JSON data so that it can easily be read by human beings.

JSON Interview Questions # 36) What is JSON Viewer?

Answer) JSON Viewer – Convert JSON Strings to a Friendly Readable Format.

37) What is JSON Validator?

Answer) The JSON Validator helps debugging JSON data by formatting and validating JSON data so that it can easily be read by human beings.

JSON Interview Questions # 38) Why do we use JSON in Android?

JSON stands for JavaScript Object Notation.It is an independent data exchange format and is the best alternative for XML.

Android provides four different classes to manipulate JSON data. These classes are JSONArray,JSONObject,JSONStringer and JSONTokenizer.

39) Why do we use JSON in Python?

Answer) Python programming language is used to encode and decode JSON objects.

Python encode() function encodes the Python object into a JSON string representation.

Python decode() function decodes a JSON-encoded string into a Python object.

JSON Interview Questions & Answers

JSON Interview Questions # 40) What is JSON in JavaScript?

Answer) JSON is derived from the JavaScript programming language, it is a natural choice to use as a data format in JavaScript. JSON, short for JavaScript Object Notation.

41) What is JSON Schema?

Answer) JSON Schema is a specification for JSON based format for defining the structure of JSON data.

JSON Interview Questions # 42) What are the advantages of JOSN?


  • It is used while writing JavaScript based applications that includes browser extensions and websites.
  • JSON format is used for serializing and transmitting structured data over network connection.
  • It is primarily used to transmit data between a server and web applications.
  • Web services and APIs use JSON format to provide public data.
  • It can be used with modern programming languages.

43) Can you write an example code in JSON?

Answer) The following example shows how to use JSON to store information related to books based on their topic and edition.

"book": [
"language": "Java",
"edition": "third",
"author": "Herbert Schildt"
"language": "C++",
"edition": "second"
"author": "E.Balagurusamy"


  1. PeopleSoft HRMS Interview Questions
  2. PeopleSoft Functional Interview Questions
  3. PeopleTools Interview Questions
  4. Peoplesoft Technical Interview Questions
  5. 199 Peoplesoft Interview Questions
  6. 200 Blue Prism Interview Questions
  7. Visualforce Interview Questions
  8. Salesforce Interview Questions
  9. 300 SSIS Interview Questions
  10. PHP Interview Questions And Answers
  11. Alteryx Interview Questions
  12. AWS Cloud Support Interview Questions
  13. Google Kubernetes Engine Interview Questions
  14. AWS Devops Interview Questions
  15. Apigee Interview Questions
  16. Actimize Interview Questions
  17. Kibana Interview Questions
  18. Nagios Interview Questions
  19. Jenkins Interview Questions
  20. Chef Interview Questions
  21. Puppet Interview Questions
  22. DB2 Interview Questions
  23. AnthillPro Interview Questions
  24. Angular 2 Interview Questions
  25. Hibernate Interview Questions
  26. ASP.NET Interview Questions
  27. Kubernetes Interview Questions
  28. Docker Interview Questions
  29. CEH Interview Questions
  30. CyberArk Interview Questions

What is Machine Learning? – A Complete Beginners Guide on ML

What is Machine Learning? – A complete beginner guide on Machine Learning, Machine learning implementation, machine learning algorithms, machine learning programming languages and its insights. Read this article from Coding compiler for a complete understanding of machine learning and its benefits.

What is Machine Learning?

Machine learning is a set of methods by which computers make decisions autonomously. Using certain techniques, computers make decisions by considering or detecting patterns in past records and then predicting future occurrences.

Different types of predictions are possible, such as about weather conditions and house prices. Apart from predictions, machines have learned how to recognize faces in photographs and even filter out email spam. Google, Yahoo, etc, use machine learning to detect spam emails.

Machine Learning Insights

Machine learning is widely implemented across all types of industries. If programming is used to achieve automation, then we can say that machine learning is used to automate the process of automation.

In traditional programming, we use data and programs on computers to produce the output, whereas in machine learning, data and output is run on the computer to produce a program. We can compare machine learning with farming or gardening, where seeds –> algorithms, nutrients –> data, and the gardener and plants –> programs.

What can Machine Learning be used for?

We can say machine learning enables computers to learn to perform tasks even though they have not been explicitly programmed to do so. Machine learning systems crawl through the data to find the patterns and when found, adjust the program’s actions accordingly.

With the help of pattern recognition and computational learning theory, one can study and develop algorithms (which can be built by learning from the sets of available data), on the basis of which the computer takes decisions.

These algorithms are driven by building a model from sample records. These models are used in developing decision trees, through which the system takes all the decisions. Machine learning programs are also structured in such a way that when exposed to new data, they learn and improve over time.

Related Article: Robotic Process Automation

Machine Learning Implementation

Before we understand how machine learning is implemented in real life, let’s look at how machines are taught. The process of teaching machines is divided into three steps.

  1. Data input: Text files, spreadsheets or SQL databases are fed as input to machines. This is called the training data for a machine.
  2. Data abstraction: Data is structured using algorithms to represent it in simpler and more logical formats. Elementary learning is performed in this phase.
  3.  Generalisation: An abstract of the data is used as input to develop the insights. Practical application happens at this stage.

The success of the machine depends on two things:

  • How well the generalization of abstraction data happens.
  • The accuracy of machines when translating their learning into practical use for predicting the future set of actions.
  • In this process, every stage helps to construct a better version of the machine.

What Is Machine Learning Used For?

Now let’s look at how we utilize the machine in real life. Before letting a machine perform any unsupervised task, the five steps listed below need to be followed.

  • Collecting data
  • Preparing the data
  • Training the model
  • Model evaluation
  • Performance improvement

Related Article: Benefits of Robotic Process Automation

Collecting data: Data plays a vital role in the machine learning process. It can be from various sources and formats like Excel, Access, text files, etc. The higher the quality and quantity of the data, the better the machine learns. This is the base for future learning.

Preparing the data: After collecting data, its quality must be checked and unnecessary noise and disturbances that are not of interest should be eliminated from the data. We need to take steps to fix issues such as missing data and the treatment of outliers.

Training the model: The appropriate algorithm is selected in this step and the data is represented in the form of a model. The cleaned data is divided into training data and testing data. The training data is used to develop the data model, while the testing data is used as a reference to ensure that the model has been trained well to produce accurate results.

Model evaluation: In this step, the accuracy and precision of the chosen algorithm is ensured based on the results obtained using the test data. This step is used to evaluate the choice of the algorithm.

Performance improvement: If the results are not satisfactory, then a different model can be chosen to implement the same or more variables are introduced to increase efficiency.

Related Article: Reality of Robotic Process Automation

Machine Learning Algorithms

Machine learning algorithms have been classified into three major categories.

  • Supervised learning
  • Unsupervised learning
  • Reinforcement learning
  • K-means clustering algorithm
  • Apriori algorithm
  • Markov decision process

Types of Machine Learning Algorithms

Supervised learning: Supervised learning is the most commonly used. In this type of learning, algorithms produce a function which predicts the future outcome based on the input given (historical data).

The name itself suggests that it generates output in a supervised fashion. So these predictive models are given instructions on what needs to be learnt and how it is to be learnt. Until the model achieves some acceptable level of efficiency or accuracy, it iterates over the training data.

To illustrate this method, we can use the algorithm for sorting apples and mangoes from a basket full of fruits. Here we know how we can identify the fruits based on their colour, shape, size, etc.

Some of the algorithms we can use here are the neural network, nearest neighbour, Naïve Bayes, decision trees and regression.

Related Article: RPA Use Cases

Unsupervised learning: The objective of unsupervised learning algorithms is to represent the hidden structure of the data set in order to learn more about the data. Here, we only have input data with no corresponding output variables.

Unsupervised learning algorithms develop the descriptive models, which approach the problems irrespective of the knowledge of the results. So it is left to the system to find out the pattern in the available inputs, in order to discover and predict the output. From many possible hypotheses, the optimal one is used to find the output.

Sorting apples and mangoes from a basket full of fruits can be done using unsupervised learning too. But this time the machine is not aware about the differentiating features of the fruits such as colour, shape, size, etc. We need to find similar features of the fruits and sort them accordingly.

Some of the algorithms we can use here are the K-means clustering algorithm and hierarchical clustering.

Reinforcement learning: In this learning method, ideas and experiences supplement each other and are also linked with each other. Here, the machine trains itself based on the experiences it has had and applies that knowledge to solving problems.

This saves a lot of time, as very little human interaction is required in this type of learning. It is also called the trial-error or association analysis technique, whereby the machine learns from its past experiences and applies its best knowledge to make decisions.

For example, a doctor with many years of experience links a patient’s symptoms to the illness based on that experience. So whenever a new patient comes, he uses his experience to diagnose the illness of the patient.

Some of the algorithms we can use here are the Apriori algorithm and the Markov decision process.

Machine Learning Applications

Machine learning has ample applications in practically every domain. Some major domains in which it plays a vital role.

Machine Learning In Banking And Financial Services

Banking and financial services: Machine learning plays an important role in identifying customers for credit card offers. It also evaluates the risks involved with those offers. And it can even predict which customers are most likely to be defaulters in repaying loans or credit card bills.

Machine Learning In Healthcare

Healthcare: Machine learning is used to diagnose fatal illnesses from the symptoms of patients, by comparing them with the history of patients with a similar medical history.

Machine Learning In Retail

Retail: Machine learning helps to spot the products that sell. It can differentiate between the fast selling products and the rest. That analysis helps retailers to increase or decrease the stocks of their products. It can also be used to recognize which product combinations can work wonders. Amazon, Flipkart, and Walmart all use machine learning to generate more business.

Machine Learning In Publishing And Social Media

Publishing and social media: Some publishing firms use machine learning to address the queries and retrieve documents for their users based on their requirements and preferences. Machine learning is also used to narrow down the search results and news feeds. Google and Facebook are the best examples of companies that use machine learning. Facebook also uses machine learning to suggest friends.

Machine Learning In Games

Games: Machine learning helps to formulate strategies for a game that requires the internal decision tree style of thinking and effective situational awareness. For example, we can build intelligence bots that learn as they play computer games.

Machine Learning For Face Detection

Face detection/recognition: The most common example of face detection is this feature being widely available in smartphone cameras. Facial recognition has even evolved to the extent that the camera can figure out when to click – for instance, only when there is a smile on the face being photographed. Face recognition is used in Facebook to automatically tag people in photos. It’s machine learning that has taught systems to detect a particular individual from a group photo.

Machine Learning In Genetics

Genetics: Machine learning helps to identify the genes associated with any particular disease.

Machine Learning Tools

There are enough open source tools or frameworks available to implement machine learning on a system. One can choose any, based on personal preferences for a specific language or environment.

  1. Shogun
  2. Weka
  3. Apache Mahout
  4. TensorFlow
  5. CUDA-Convnet
  6. H2O

Shogun Machine Learning Tool

Shogun: Shogun is one of the oldest machine learning libraries available in the market. It provides a wide range of efficient machine learning processes. It supports many languages such as Python, Octave, R, Java/ Scala, Lua, C#, Ruby, etc, and platforms such as Linux/UNIX, MacOS and Windows. It is easy to use, and is quite fast at compilation and execution.

What is Weka Machine Learning Tool?

Weka: Weka is data mining software that has a collection of machine learning algorithms to mine the data. These algorithms can be applied directly to the data or called from the Java code.

Weka is a collection of tools for:

  • Regression
  • Clustering
  • Association rules
  • Data pre-processing
  • Classification
  • Visualisation

Apache Mahout Machine Learning Tool

Apache Mahout: Apache Mahout is a free and open source project. It is used to build an environment to quickly create scalable machine learning algorithms for fields such as collaborative filtering, clustering and classification. It also supports Java libraries and Java collections for various kinds of mathematical operations.

What is TensorFlow Machine Learning Tool?

TensorFlow: TensorFlow performs numerical computations using data flow graphs. It performs optimisations very well. It supports Python or C++, is highly flexible and portable, and also has diverse language options.

CUDA – Convnet Machine Learning Tool

CUDA-Convnet: CUDA-Convnet is a machine learning library widely used for neural network applications. It has been developed in C++ and can even be used by those who prefer Python over C++. The resulting neural nets obtained as output from this library can be saved as Python-pickled objects, and those objects can be accessed from Python.

H2O Machine Learning Tool

H2O: This is an open source machine learning as well as deep learning framework. It is developed using Java, Python and R, and it is used to control training due to its powerful graphics interface. H2O’s algorithms are mainly used for business processes like fraud or trend predictions.

What is the best programming language for machine learning?

The best programming languages for machine learning are:

  • R
  • Python
  • Java
  • C++
  • C
  • JavaScript
  • Scala
  • Julia

But for a non-programmer, Weka is highly recommended when working with machine learning algorithms.

Advantages Of Machine learning

The advantages of machine learning are:

  • Machine learning helps the system to decode based on the training data provided in the dynamic or undermined state.
  • It can handle multi-dimensional, multi-variety data, and can extract implicit relationships within large data sets in a dynamic, complex and chaotic environment.
  • It saves a lot of time by tweaking, adding, or dropping different aspects of an algorithm to better structure the data.
  • It also uses continuous quality improvement for any large or complex process.
  • There are multiple iterations that are done to deliver the highest level of accuracy in the final model.
  • Machine learning allows easy application and comfortable adjustment of parameters to improve classification performance.

Challenges Of Machine Learning

The challenges of machine learning are as follows:

A common challenge is the collection of relevant data. Once the data is available, it has to be pre-processed depending on the requirements of the specific algorithm used, which has a serious effect on the final results.

Difficulties Of Machine Learning

Machine learning techniques are such that it is difficult to optimize non-differentiable, discontinuous loss functions. Discontinuous loss functions are important in cases such as sparse representations. Non-differentiable loss functions are approximated by smooth loss functions without much loss in sparsity.

Disadvantages Of Machine Learning

It is not guaranteed that machine learning algorithms will always work in every possible case. It requires some awareness about the problem and also some experience in choosing the right machine learning algorithm.
Collection of such large amounts of data can sometimes be an unmanageable and unwieldy task. Source

Machine Learning Questions

Q) What is Machine Learning Language?

A) Machine Learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning language focuses on the development of computer programs that can access data and use it learn for themselves.

Q) What is machine learning used for?

A) Machine Learning can be used for Collecting data, Preparing the data, Training the model, Model evaluation, and Performance improvement, etc.

Q) What machine learning can do?  (or) What can machine learning be used for?

A) Machine Learning can do a variety of tasks like data modeling, serving content, predicting problems and many other things.

Q) What is machine learning in big data?

A) Machine Learning and Big Data as such have no direct relation. Although one can say that Big Data Techniques can be used in Machine Learning.

While many machine learning algorithms have been around for a long time, the ability to automatically apply complex mathematical calculations to big data – over and over, faster and faster – is a recent development.

Q) What is machine learning in artificial intelligence?

A) Machine learning is a type of artificial intelligence (AI) that allows software applications to become more accurate in predicting outcomes without being explicitly programmed.

Q) What is Microsoft Azure machine learning?

A) Azure Machine Learning Studio is a GUI-based integrated development environment for constructing and operationalizing Machine Learning workflow on Azure. Azure Machine Learning is built on top of the machine learning capabilities of several Microsoft products and services.

PeopleSoft HRMS Interview Questions Answers

PeopleSoft HRMS Interview Questions And Answers For Experienced 2018. If you are looking for Peoplesoft HRMS interview questions, then you are at the right place. Here we are sharing a list of real-time Peoplesoft HRMS interview questions and answers. This list will help you to crack your next Peoplesoft HRMS job interview. All the best and happy learning from Coding compiler.

PeopleSoft HRMS Interview Questions

  1. What is PeopleSoft Enterprise HRMS?
  2. What is PeopleSoft Enterprise HRMS Integrations?
  3. What are the different components and component interfaces in PeopleSoft HRMS?
  4. How PeopleSoft HRMS stores data?
  5. What is a control table in Peoplesoft HRMS?
  6. What are transaction tables in Peoplesoft HRMS?
  7. What are Prompt Tables in PeopleSoft HRMS?
  8. What are Business Units in PeopleSoft HRMS?
  9. What are Tablesets and SetIDs in PeopleSoft HRMS?
  10. What are Effective Dates and what are the benefits of it?

PeopleSoft HRMS Interview Questions And Answers

PeopleSoft HRMS Interview Questions 1) What is PeopleSoft Enterprise HRMS?

Answer # PeopleSoft HRMS is an integrated suite of applications and business processes that are based on PeopleSoft’s Pure Internet Architecture (PIA) and enterprise portal technologies.

The sophisticated features and collaborative, self-service functionality available in PeopleSoft HRMS enable you to manage your human resources from recruitment to retirement while aligning your workforce initiatives with strategic business goals and objectives.

PeopleSoft HRMS Interview Questions 2) What is PeopleSoft Enterprise HRMS Integrations?

Answer # PeopleSoft HRMS integrates with other PeopleSoft applications, such as PeopleSoft Enterprise Financials, PeopleSoft Enterprise Workforce Analytics, and PeopleSoft Enterprise Learning Management. PeopleSoft HRMS also integrates with other third-party applications. PeopleSoft HRMS uses various integration technologies to send and receive data.

PeopleSoft HRMS Interview Questions 3) What are the different components and component interfaces in PeopleSoft HRMS?

Answer # Component Component Interface

Departments component (DEPARTMENT_TBL) – DEPARTMENT_TBL



Job Code Table component (JOB_CODE_TBL) – CI_JOB_CODE_TBL

Job Tasks component (JOB_TASK_TABLE) – JOB_TASK_TABLE




Tax Location Table component (TAX_LOCATION_TBL) – TAX_LOCATION_TBL

PeopleSoft HRMS Interview Questions 4) How PeopleSoft HRMS stores data?

Answer # PeopleSoft HRMS is a table-based system that stores critical general data, such as companies, work locations, and system specifications in a central location. The system enables users to access the same basic information while maintaining data accuracy and integrity.

Tables that are central to PeopleSoft HRMS include control tables, transaction tables, and prompt tables.

Related Article For You: Peoplesoft Interview Questions

PeopleSoft HRMS Interview Questions 5) What is a control table in Peoplesoft HRMS?

Answer # Control Tables – Control tables store information that is used to process and validate the day-to-day business activities (transactions) users perform with PeopleSoft HRMS applications
The information stored in control tables is common and shared across an organization, for example, master lists of customers, vendors, applications, items, or charts of accounts. By storing this shared information in a central location, control tables help to reduce data redundancy, maintain data integrity, and ensure that users have access to the same basic information.

The information stored in control tables is generally static and is updated only when fundamental changes occur to business policies, organizational structures, or processing rules.

PeopleSoft HRMS Interview Questions 6) What are transaction tables in Peoplesoft HRMS?

Answer # Transaction Tables – Transaction tables store information about the day-to-day business activities (transactions) users perform with PeopleSoft HRMS applications.

The information stored in transaction tables often changes and is updated more frequently than the information stored in control tables.

PeopleSoft HRMS Interview Questions 7) What are Prompt Tables in PeopleSoft HRMS?

Answer # Prompt Tables – Prompt tables are tables that are associated with fields on PeopleSoft application pages and which display valid data values for those fields when a user selects a prompt or search option.

The data values stored in prompt tables are retrieved from control tables, transaction tables, or other PeopleSoft tables.

PeopleSoft HRMS Interview Questions 8) What are Business Units in PeopleSoft HRMS?

Answer # Business units are logical units that you create to track and report specific business information. Business units have no predetermined restrictions or requirements; they are a flexible structuring device that enable you to implement PeopleSoft HRMS based on how your business is organized.

You must define at least one business unit. The BUSINESS_UNIT field is included on all transaction tables.

PeopleSoft HRMS Interview Questions 9) What are Tablesets and SetIDs in PeopleSoft HRMS?

Answer # Tablesets and setIDs are devices that enable you to share – or restrict – information across business units. For example, with tablesets and setIDs you can centralize redundant information such as country codes while keeping information such as departments and job codes decentralized.

The overall goal of tablesets and setIDs is to minimize data redundancy, maintain data consistency, and reduce system maintenance tasks.

You must define at least one tableset (setID). The SETID key field is included on all control tables.

Related Article: Peoplesoft Technical Interview Questions

PeopleSoft HRMS Interview Questions 10) What are Effective Dates and what are the benefits of it?

Answer # PeopleSoft HRMS uses effective dates to store historical, current, and future information. Effective dates
enable you to:

  • Maintain a chronological history of your data. By storing effective-dated information in tables, the system enables you to review past transactions and plan for future events.
  • For example, you can roll back your system to a particular time to perform historical analyses for your company. Or, you can set up tables and data ahead of time without using tickler or pending files.
  • Maintain the accuracy of your data. By comparing the effective dates in prompt tables to the effective dates on application pages, the system displays only those values that are valid for the current time period.
  • For example, you create a new department code with an effective date of May 1, 2008. Then, on the Job Data pages, you enter a new data row for an employee with an effective date before May 1, 2008. When you select the prompt for the department field, you won’t see the new department code because it is not in effect.

PeopleSoft HRMS Interview Questions For Experienced

PeopleSoft HRMS Interview Questions 11) What is Person or Position Structure in PeopleSoft HRMS?

Answer # PeopleSoft HRMS enables you to structure or drive your PeopleSoft Enterprise Human Resources system by person or by position. Before you set up information in the control tables, you must decide which method to use. The system processes the information differently depending on your choice.

PeopleSoft HRMS Interview Questions 12) What’s the Difference between Person or Position?

Answer # When you drive PeopleSoft Human Resources by person, you use job codes to classify job data into groups. You use those codes to link person data to job data.

When you drive PeopleSoft Human Resources by position, you still use job codes to create general groups, or job classifications, in your organization, such as EEO (equal employment opportunity) and salary survey data, but you also uniquely identify each position in a job code and link people to those positions.

Job codes primarily have a one-to-many relationship with workers. Many workers share the same job code, even though they might perform the work in different departments, locations, or companies, as shown in the diagram below. You identify the job that a worker performs through the data that you enter in the worker’s job records.

In contrast, positions usually have a one-to-one relationship with workers. However, you can have several positions with the same job code; positions track details of a particular job in a specific department or location.

For example, in job code 1020, Administrative Assistant, you can define different administrative assistant positions with different position numbers—position 15 in accounting, position 16 in the human resources department, position 17 in your marketing department, and position 18 in your production group. Workers are then assigned to these specific positions.

PeopleSoft HRMS Interview Questions 13) Which Method Should You Use Person or Position?

Answer # To determine whether you should drive your system by person or position, consider the following:

  • If your organization is fluid (that is, if you tend to look at broader groups of workers and create new jobs often), then driving the system by person is probably best for you.
  • This method is useful if your organization is continually expanding or if new projects require that you create new jobs or job types regularly.
  • If your organization is fairly static (that is, if jobs and job descriptions are mostly fixed, and people move in and out of the same positions), then driving the system by position is probably best for you.
  • For example, government agencies and hospitals, which plan positions based on budgets (often well in advance of filling the positions), find this method very useful.

If you find that both methods work well in different areas of your organization, you can drive PeopleSoft Human Resources both ways.

PeopleSoft HRMS Interview Questions 14) What is your understanding of PeopleSoft HRMS System Data Regulation?

Answer # As companies grow larger and more complex, they often need to collect the same type of data across many locations. PeopleSoft business units and setIDs enable you to organize businesses into logical units other than companies and departments and to define how organizational data is shared among these units.

PeopleSoft HRMS system data is regulated through the use of business units, tablesets and setIDs, and tableset sharing. Business units are logical devices that enable you to implement PeopleSoft HRMS based on how your business is organized.

Tablesets, setIDs, and tableset sharing are organizational devices that enable you to share – or restrict – the information stored in your HRMS system across business units:

  • Business – Unit A logical organizational entity.
  • SetID – A high-level key on many control tables.
  • TableSet – Set of rows on a control table, grouped by setID, that is available to specific business units.

PeopleSoft HRMS Interview Questions 15) What are Business Units in PeopleSoft HRMS?

Answer # Business units are logical units that you create to track and report specific business information. Business units have no predetermined restrictions or requirements; they are a flexible structuring device that enable you to implement PeopleSoft HRMS based on how your business is organized.

Business units share processing rules and you can create them at any level of the organization that makes sense and that reflect the needs of your internal human resources departments.

If you use the same processing rules across the organization, it may make sense to have a single business unit; if you use different rules in different companies, countries, or functional areas, you may choose to create multiple business units.

Related Article For You: PeopleSoft Functional Interview Questions

PeopleSoft HRMS Interview Questions 16) What are Tablesets and how do you work with them?

Answer # To work with tablesets, you need to be able to distinguish between tablesets, setIDs, and tableset sharing:

  • tableset – A set of data rows in a control table that is identified by the same highlevel key.
  • setID – The highlevel key that identifies a set of data rows. There are two types of
  • setIDs:
  • • Physical SetIDs – The setID of a business unit (BUSINESS_UNIT = SETID). The rows of data in a physical setID have a one to one relationship with the business unit.
  • • Logical SetID – A logical setID that is generic and determined by business rules other than business unit. Logical setIDs enable you to share rows of data across multiple business units.
  • tableset sharing – Sharing rows of data in a tableset across business units or limiting rows to a single business unit.

PeopleSoft HRMS Interview Questions 17) What is Data Permission Security for HRMS?

Answer # Data permission security refers to controlling access to the rows of data in your system. In PeopleSoft HRMS, you can control access to the following types of data:

  • People.
  • Employees.
  • Contingent workers.
  • People of interest (POIs) with jobs.
  • People of interest (POIs) without jobs.
  • Recruiting job openings.
  • Departments.

PeopleSoft HRMS Interview Questions 18) What are Security Sets and Security Access Types?

Answer # A security set is a grouping of data that is being secured. The sets differ by the origin of the transaction security data.

For example, people of interest without jobs have a separate security set from people with jobs because the transaction data used to secure them does not come from the JOB record, but from the PER_POI_SCRTY record.

Security access types are ways of securing the data within a security set. Each security set has a number of security access types that you can choose to enable. Among other things, security access types determine:

  •  The security transaction data.
  •  If there is data security for future-dated rows.
  •  If the access type uses a department security tree.

PeopleSoft HRMS Interview Questions 19) How do you implement data permission security?

Answer # To implement data permission security, use the Security Installation Settings component (SCRTY_INSTALL), the Security Sets component (SCRTY_SET_TBL), and the Security Access Type component (SCRTY_TYPE2_TBL).

PeopleSoft HRMS Interview Questions 20) What is Future-Dated Security?

Answer # The Security Installation Settings page enables you to select actions that, when used on the Work Location page (JOB_DATA1), trigger the SavePostChange PeopleCode to create a future-dated row in SJT_PERSON.

Advanced PeopleSoft HRMS Interview Questions

Related Article: PeopleTools Interview Questions

PeopleSoft HRMS Interview Questions 21) How do you SetUp and Assigning Tree-Based Data Permission?

Answer # To set up and use tree-based data permission, use the Tree Manager component (PSTREEMGR), Security Tree Audit Report component (RUNCTL_PER506), Security by Dept Tree component (SCRTY_DATA), and Refresh SJT_CLASS_ALL component (SCRTY_OPR_RC).

PeopleSoft HRMS Interview Questions 22) How do you modify Security Trees?

Answer # You can modify an existing tree by changing either the nodes or the levels. When you modify a security tree, the tree node numbers usually change, so you need to refresh the numbers. You also need to run the Refresh SJT_CLASS_ALL process to update the data access profiles and security join tables.

PeopleSoft HRMS Interview Questions 23) How do you allow Workers to Update Their Own Data?

Answer # PeopleSoft HRMS doesn’t allow users to update their own data except in the self-service internet applications.

However, sometimes you might want them to update some of their own data in other components. To allow users to update their own data, you implement the PeopleCode function Allow EmplIDChg (allow emplID change).

The function looks for a single Boolean parameter. When the parameter is set to true, workers can update their own data; when it is set to false, they cannot.

PeopleSoft HRMS Interview Questions 24) How do you administer Country Codes?

Answer # To administer country codes, use the Country Table (COUNTRY_TABLE), the Country Table – HR (HR_COUNTRY_TABLE), and the State/Province (STATE_DEFN) components.

PeopleSoft HRMS Interview Questions 25) What is Search/Match?

Answer # To use the full functionality of your system, you must maintain the integrity of your database. With users from many departments entering data into your system, you want to minimize the entry of duplicate or multiple records. Search/Match enables you to define criteria to check for duplicate or multiple ID records.

The searchable ID types (called Search Types) are:
• Person (EmplID)
• Applicant (HRS_PERSON_ID within PeopleSoft Enterprise Talent Acquisition Manager)

Real-Time PeopleSoft HRMS Interview Questions

PeopleSoft HRMS Interview Questions 26) How do you setup Search/Match?

Answer # To set up Search/Match use the Search Match Rules (HCR_SM_RULE), Search/Match Parameters (HCR_SM_PARM), Search/Match Result Fields (HCR_SM_RSLT_FLDS), Search/Match Results (HCR_SM_RESULT), and Search/Match (HCR_SM_SEARCH) components.

PeopleSoft HRMS Interview Questions 27) What is the difference between Search Box Search and Search/Match?

Answer # The difference between record search from search dialog pages and using Search/Match is this: You use search box pages to retrieve existing records using limited search criteria to view or update data, and you use Search/Match to use a larger set of search criteria that detect duplicate or multiple records in your database or to identify different records that contain duplicate data that should uniquely identify only one ID.

PeopleSoft HRMS Interview Questions 28) What are Frequency IDs?

Answer # Frequency IDs are used in PeopleSoft Enterprise Human Resources, Global Payroll, and Payroll for North America. Frequency IDs are defined on the Frequency Table component (FREQUENCY_TBL). Each frequency ID has a frequency type and an associated annualization factor that represents the number of times that the period occurs in the course of a year.

PeopleSoft HRMS Interview Questions 29) How do you setup person of interest types?

Ansewr # To set up person of interest types, use the Person of Interest Types (POI_TYPE_TBL) component.

PeopleSoft HRMS Interview Questions 30) What are Establishments?

Answer # You use the Establishment component to define distinct physical places of business (establishments) within your company, to enter address information, and to enter regulatory reporting information. In PeopleSoft Human Resources, you define establishments that are consistent with the regulatory requirements of your business operations.

In PeopleSoft Human Resources, an establishment:

  •  Has an address.
  •  Is associated with a company.
  •  Is used for regulatory purposes.


  1. PeopleSoft Functional Interview Questions
  2. PeopleTools Interview Questions
  3. Peoplesoft Technical Interview Questions
  4. 199 Peoplesoft Interview Questions
  5. 200 Blue Prism Interview Questions
  6. Visualforce Interview Questions
  7. Salesforce Interview Questions
  8. 300 SSIS Interview Questions
  9. PHP Interview Questions And Answers
  10. Alteryx Interview Questions
  11. AWS Cloud Support Interview Questions
  12. Google Kubernetes Engine Interview Questions
  13. AWS Devops Interview Questions
  14. Apigee Interview Questions
  15. Actimize Interview Questions
  16. Kibana Interview Questions
  17. Nagios Interview Questions
  18. Jenkins Interview Questions
  19. Chef Interview Questions
  20. Puppet Interview Questions
  21. DB2 Interview Questions
  22. AnthillPro Interview Questions
  23. Angular 2 Interview Questions
  24. Hibernate Interview Questions
  25. ASP.NET Interview Questions
  26. Kubernetes Interview Questions
  27. Docker Interview Questions
  28. CEH Interview Questions
  29. CyberArk Interview Questions
  30. Appian Interview Questions

PeopleSoft Functional Interview Questions Answers

Peoplesoft Functional Interview Questions And Answers For Experienced 2018. Here Coding compiler sharing a very good list of 30 Peoplesoft interview questions with answers. We hope that these interview questions will help you to crack your next Peoplesoft job interview. All the best for your future and happy learning.

Peoplesoft Functional Interview Questions

  1. What are the different payment methods in PeopleSoft?
  2. What is the P2P Cycle in PeopleSoft?
  3. What is the main business process of Accounts Payable?
  4. What are the Voucher Staging tables available in PeopleSoft?
  5. What are the main components for setting the hire template in PeopleSoft?
  6. What are the methods available to update worker’s compensation packages?
  7. What is a regulatory region? What is the use of regulatory region?
  8. What are all the statuses used to define templates?
  9. List out different kinds of organizational relationships in PeopleSoft HRMS as per the person model?
  10. What are all the statuses available on the template hire status page?

Peoplesoft Functional Interview Questions And Answers

Peoplesoft Functional Interview Questions 1) What are the different payment methods in PeopleSoft?

Answer # System Check and EFT are two of the most common Payment Methods used by enterprises. Apart from these, PeopleSoft Payables also supports many other Payment Methods.

They are:

Most Common Payment Methods:

  • System Check
  • Electronic Funds Transfer — EFT

Other Payment Methods:

  • Manual Check
  • Draft Customer Intiated
  • Draft Customer EFT
  • Draft Vendor Intiated
  • Automated Clearing House — ACH
  • Direct Debit
  • Giro-EFT
  • Giro-Manual
  • Letter of Credit
  • Wire Transfer

Peoplesoft Functional Interview Questions 2) What is the P2P Cycle in PeopleSoft?

Answer # This Process includes Procurement to Payment cycle.

  1.  Requistion
  2.  Purchase Order
  3.  Receipt
  4.  Voucher
  5.  Payment

Peoplesoft Functional Interview Questions 3) You have an interface file coming into PeopleSoft from a third-party system that sends details of already approved vouchers. An App Engine loads the file into the Voucher Staging tables. When the Voucher build process runs, it would be apt to create pre-approved vouchers for this origin. How would you set the system up to mark the Vouchers created from this origin as pre-approved?

Answer # We need to do small set up change at Voucher Origin

Below are the steps:

  1.  Open the Voucher Origin Set-Up
    (Set Up Financials/Supply chain > Product Related > Procurement Options > Vouchers > Voucher Origin)
  2.  Click on Vouchering Options 1 Tab
  3.  Voucher Approval Options — Check the radio button : Pre-Approved

Peoplesoft Functional Interview Questions 4) What are main business process of Accounts Payable?

Answer # Payables Business process overview:

  • Create Vouchers and payments process using manual and automatic processes.
  • Country-specific tax withholding
  • Matching the vouchers with the purchase orders and receipts
  • Post the vouchers
  • Maintain vouchers throughout their life cycle.
  • Create drafts, single voucher payment, prepayments, and self-billed invoices.
  • Optionally, send electronic payments to PeopleSoft  Financial Gateway.
  • Analyze accounts payable information using online inquiries, and by generating reports.
  • Archive accounts payable data

Peoplesoft Functional Interview Questions 5) What are the Voucher Staging tables available in PeopleSoft?

Answer # To load vouchers into PeopleSoft, we first load them into the Voucher Staging tables and then run the Voucher Build to create Vouchers from the staged data.



These are two staging tables used to load data through voucher build process into main voucher tables


Related Article For You: Peoplesoft Interview Questions

Peoplesoft Functional Interview Questions 6) What are the main components for setting the hire template in PeoplfSoft?

Answer # Template Record/Field

Template Section

Template Category Table

Template Creation

Peoplesoft Functional Interview Questions 7) What are the methods available to update worker’s compensation packages?

Answer # Seniority Pay Increases

Grade Advance increases

Automated step increases

Step increases using review bands

Amount increases

Percentage increases

Peoplesoft Functional Interview Questions 8) What is a regulatory region? What is the use of regulatory region?

Answer # A regulatory region is a region which has laws and regulations that are used by functionality in PeopleSoft HRMS. A lot of transactions are driven by regulatory requirements. These requirements include areas like ethnicity, disability, and health and safety.

Benefits of using regulatory region

When driven by Regulatory Region, the regulatory codes, People Code edits, and set processing in the system can vary by country and for each transaction.

Peoplesoft Functional Interview Questions 9) What are all the statuses used to define templates?

Answer # Test (Default Value)



Peoplesoft Functional Interview Questions 10) List out different kinds of organizational relationships in PeopleSoft HRMS as per the person model?

Answer # Different organization relationships a person can have are:


Contingent worker

Person of Interest

Related Article: Peoplesoft Technical Interview Questions

Real-Time Peoplesoft Functional Interview Questions

Peoplesoft Functional Interview Questions 11) What are all the statuses available on the template hire status page?

Answer # Pending Hires

Cancelled Hires

Processed Hires

Peoplesoft Functional Interview Questions 12) What are the levels available in tree manager?

Answer # Level





Peoplesoft Functional Interview Questions 13) What are Global assignments?

Answer # Global assignments enables the organization to assign employees to a global assignment and to monitor, compensate and track education, qualifications for the employee and dependents as they move to multiple locations in the organization having presence in different geographies.

Peoplesoft Functional Interview Questions 14) What are all the various types of SJT?

Answer # SJT_CLASS




Peoplesoft Functional Interview Questions 15) What is the most important Record in PS HRMS?

Answer # JOB record

Peoplesoft Functional Interview Questions 16) What is Home and Host concept?

Answer # Employees are based in a Home location.

The employee data, benefits and payroll information is maintained at the home location.

The new location where the employee moves is the Host location.

Peoplesoft Functional Interview Questions 17) How is international assignments security implemented?

Answer # PeopleSoft delivers three options for International Security:

i) Home can see Host
ii) Host can see Home
iii) Both

International Security can be setup by navigating to:

Setup HRMS -> Security -> Core Row Level Security -> Security Installation Settings

Peoplesoft Functional Interview Questions 18) For the action of Short Term Disability, what is the resulting employee status?

Answer # Leave of Absence

Peoplesoft Functional Interview Questions 19) A company wants you to set the dependent age limit to 19 for all benefits. Which table should you use?

Answer # Benefit Program Table

Peoplesoft Functional Interview Questions 20) When working on a conversion, what does PeopleSoft recommend you use as the initial effective dates on the Job Code Table?

Answer # Accommodate your longest tenured employee.

Related Article: PeopleTools Technical Interview Questions

Peoplesoft Functional Interview Questions For Experienced

Peoplesoft Functional Interview Questions 21) Which table has SetID as a high-level key?

Answer # Location Table

Peoplesoft Functional Interview Questions 22) Which HRMS module does NOT use the Group Build functionality?

Answer # Payroll

Peoplesoft Functional Interview Questions 23) A customer asks you to set up a medical plan on the Benefit Plan Table. Which table must you set up first?

Answer # Provider/Vendor Table

24) our client has seasonal workers and wants to base the annual compensation rate on 125 work days per year. On which table do you define this requirement?

Answer # Frequency Table

25) Where do you enter default values that are specific to a PeopleSoft user?

Answer # Org Defaults by Permission List

26) A customer wants to set up a vacation plan and have the ability to track the vacation balances. Which three tables must be set up before you can track the vacation balances?

Answer # Provider/Vendor Table, Earnings Table and Benefit Program Table.

27) On the Job Earnings Distribution Page, what are three ways you can distribute the employee’s compensation?

Answer # To a different Department, To a different Job Codes and/or Position and To a different General Ledger Type.

28) Which deduction classification is used to set up a savings plan employer before-tax match?

Answer # Nontaxable Before-Tax Benefit

29) What is the purpose of EMPLOYEES table in PS? How is this table populated?

Answer # EMPLOYEES table is a current employee information table. This is primarily used in interfacing with third party systems or in business reporting as well in conjunction with EMPLOYMENT which is now a view.

30) What is job family? How is it different from job codes in PS?

Answer # To identify a particular job in PS HRMS we use job code. Example: You can have a job code representing Administrative assistant. This jobcode will have a defaulted salary grade and standard hours. A collection of multiple such jobs grouped together which use this job code will make a job family.


  1. PeopleTools Interview Questions
  2. Peoplesoft Technical Interview Questions
  3. 199 Peoplesoft Interview Questions
  4. 200 Blue Prism Interview Questions
  5. Visualforce Interview Questions
  6. Salesforce Interview Questions
  7. 300 SSIS Interview Questions
  8. PHP Interview Questions And Answers
  9. Alteryx Interview Questions
  10. AWS Cloud Support Interview Questions
  11. Google Kubernetes Engine Interview Questions
  12. AWS Devops Interview Questions
  13. Apigee Interview Questions
  14. Actimize Interview Questions
  15. Kibana Interview Questions
  16. Nagios Interview Questions
  17. Jenkins Interview Questions
  18. Chef Interview Questions
  19. Puppet Interview Questions
  20. DB2 Interview Questions
  21. AnthillPro Interview Questions
  22. Angular 2 Interview Questions
  23. Hibernate Interview Questions
  24. ASP.NET Interview Questions
  25. Kubernetes Interview Questions
  26. Docker Interview Questions
  27. CEH Interview Questions
  28. CyberArk Interview Questions
  29. Appian Interview Questions
  30. Drools Interview Questions

Kubernetes Architecture – Master Node Components

Kubernetes Architecture Tutorial. In this article, we will discuss Kubernetes architecture and the moving parts of Kubernetes and also what are the key elements, what are the roles and responsibilities of them in Kubernetes architecture.

Kubernetes Architecture

Kubernetes architecture contains the client-server model. Where Kubernetes client installed on one machine and multiple Kubernetes nodes will be installed on different machines and they communicate with each other.

Read Related Article: What is Kubernetes?

Kubernetes Master Components

The Kubernetes master node is responsible for the management of Kubernetes cluster.

Components of Kubernetes Master.

  • etcd
  • API Server
  • Scheduler
  • Controller Manager

Kubernetes Node Components

Components in Kubernetes Node.

  • Docker
  • Kubelet
  • Kubernetes Proxy

Related Article For You: Kubernetes Components

Kubernetes Master Node Architecture

Kubernetes Architecture
Source: x-team

etcd – Kubernetes Architecture

etcd is used as Kubernetes’ backing store. All cluster data is stored here. Always have a backup plan for etcd’s data for your Kubernetes cluster.

It provides a REST API for CRUD operations as well as an interface to register watchers on specific nodes, which enables a reliable way to notify the rest of the cluster about configuration changes.

Related Article: Kubernetes Objects

API Server – Kubernetes Architecture

The API server is the entry points for all the REST commands used to control the cluster. Kube API Server exposes the Kubernetes API. It is the front-end for the Kubernetes control plane. It is designed to scale horizontally – that is, it scales by deploying more instances.

Scheduler – Kubernetes Architecture

Kubernetes Scheduler watches newly created pods that are not assigned to any node, and selects a node for them to run on. The scheduler has the information about resources available on the members of the cluster, and also the ones required for the configured service to run.  The scheduler is able to decide where to deploy a specific service based on the information it has.

Related Article: Kubernetes Names And Namespaces

Controller Manager – Kubernetes Architecture

Controller manager runs controllers, which are the background threads that handle routine tasks in the cluster. Logically, each controller is a separate process, but to reduce complexity, they are all compiled into a single binary and run in a single process.

Docker – Kubernetes Architecture

Docker is used for running containers. Docker runs on each of the worker nodes, and runs the configured pods. It takes care of downloading the images and starting the containers.

Related Article: Kubernetes API Tutorial

Kubelet – Kubernetes Architecture

kubelet is the primary node agent. It watches for pods that have been assigned to its node (either by apiserver or via local configuration file) and:

  • Mounts the pod’s required volumes.
  • Downloads the pod’s secrets.
  • Runs the pod’s containers via docker (or, experimentally, rkt).
  • Periodically executes any requested container liveness probes.
  • Reports the status of the pod back to the rest of the system, by creating a mirror pod if necessary.
  • Reports the status of the node back to the rest of the system.

Kubernetes Proxy – Kubernetes Architecture

Kubernetes Proxy acts as a network proxy and a load balancer for a service on a single worker node. It takes care of the network routing for TCP and UDP packets. Kube-Proxy enables the Kubernetes service abstraction by maintaining network rules on the host and performing connection forwarding.

Kuberneters Architecture Video Tutorial


What is Kubernetes?

Kubernetes Components

Kubernetes Objects

Kubernetes Names And Namespaces

Kubernetes API

Kubernetes Interview Questions

Want to learn Kubernetes from industry experts?

Get register for a FREE demo on Kubernetes Training @ Contact us.

PeopleSoft PeopleTools Interview Questions Answers

45 PeopleSoft People Tools Interview Questions And Answers For Experienced 2018. Here Coding compiler sharing a very good list of people tools interview questions. We hope that these interview questions will help you to crack your next Peoplesoft job interview. All the best for your future and happy learning.

Peoplesoft People Tools Interview Questions

  1. What is the difference between Key and alternate search Key?
  2. Which effective dated rows can be retrieved in update/display mode, update/display all and correction mode?
  3. What types of audits are supported by people soft? In case of record level audit what is the structure of table?
  4. What are Table Edits?
  5. What conditions are required to establish parent child relationship between two records? What are the advantages with that?
  6. Can you hide a primary page in a component? Reason?
  7. Can you place Sub page into Grid? If yes How?
  8. What is an Expert Entry?
  9. What is Auto Update?
  10. What is Record Group? Which records can be included into a record group?

Peoplesoft People Tools Interview Questions And Answers

People Tools Interview Questions # 1) What is the difference between Key and alternate search Key?

Answer # KEY-It is the primary key of the record. Can be used as search key or need not be.
Alternate search key-it is used for searching purposes.

People Tools Interview Questions # 2) Which effective dated rows can be retrieved in update/display mode, update/display all and correction mode?

Answer # Update/display – can view current and future rows. Can update only future rows.
Update/display all – can view history, current and future rows. Can update only future rows.
Correction – can view and update history, current and future rows.

People Tools Interview Questions # 3) What types of audits are supported by people soft? In case of record level audit what is the structure of table?

Answer # We have field level audit and record level audit. The structure of the table in record
add fields from record.

People Tools Interview Questions # 4) What are Table Edits?

Answer # We have prompt table edit, yes/no table edit, translate table edit as the table edits.

People Tools Interview Questions # 5) What conditions are required to establish parent child relationship between two records? What are the advantages with that?

Answer # Conditions are:
1) The child record should have all the key fields of parent record and at least one more
key field other than the key fields of parent record.
2) We should mention the parent record in the record properties of child record.
3) We can not go for more than three levels of parent/child relationships.

Advantages are:
1) To have referential integrity.
2) No need to enter information again and again

Related Article For You: Peoplesoft Interview Questions

People Tools Interview Questions

People Tools Interview Questions # 6)

Answer # Can you place Sub page into Grid? If yes How?
Yes we can insert subpage using insert subpage. After insert subpage into main page, drag the subpage into the grid. When we save the page we are successfully able to save the page showing that we can insert a subpage into a grid.

People Tools Interview Questions # 7) Can you hide a primary page in a component? Reason?

Answer # No we can not hide the primary page of a component. If the component had only one page then by making this page also invisible we won’t have any component existing so we are not allowed to hide the primary page.

People Tools Interview Questions # 8) What is an Expert Entry?

Answer # Expert entry enables a user to change from interactive to deferred mode at runtime for appropriate transactions

People Tools Interview Questions # 9) What is Auto Update?

Answer # This record field property is used to update the date field of particular record with the server’s current date and time whenever a user creates or updates a row. Even the user enter the data into that field, the data which the user enters will be updated by the system’s current date and time.

People Tools Interview Questions # 10) What is Record Group? Which records can be included into a record group?

Answer # Record group consists of records with similar functionality. To setup a record in record group we should enter a set control field value in record properties.

Related Article: Peoplesoft Technical Interview Questions

People Tools Interview Questions And Answers

People Tools Interview Questions # 11) How can you improve the security and usability of a Prompt table edit?

Answer # Prompt table view

People Tools Interview Questions # 12) What are the different ways to setup row level security?

Answer # We can setup row-level security using a SQL view that joins the data table with an authorization table. andBy having Query search for data using a query security record definition. The query security record definition adds a security check to the search.

People Tools Interview Questions # 13) How does peoplesoft use views? Which are online functions?

Answer # People soft uses views for search records, summary pages, prompt views, reports. Search records and summary pages are online functions.

People Tools Interview Questions # 14) Why do PeopleSoft often use views as search records?

Answer # Search views are used for three main reasons.

  1.  Adding criteria to the search dialogue page
  2.  Providing row level security.
  3.  Implementing search page processing.

People Tools Interview Questions # 15) How can a component have more than one search record? Give a situation.

Answer # You might want to reuse the same component multiple times with different search records. You can accomplish this by overriding the component search record at runtime when the component is opened from a menu item without creating separate copies of the component.

The component override is temporary and occurs only when the component is opened from the menu item in which the override is set. It does not change the component definition.

16. What is PIA and what are its components?

Answer # It is n-tier architecture. We have client, web server, application server and Database server. We have jolt and tuxedo. We have WSL, WSH, JSL, JSH, QUEUES and services.
In database server we have system tables, peopletools tables and application tables.

People Tools Interview Questions # 17) Differentiate Field edit and Save edit?

Answer # In Field edit for each field change, a transition to the application server to the database is taken place.
In Saveedit for all the fields , only one transition to the application server to the Database is taken place.

People Tools Interview Questions # 18) What are think time functions?

Answer # Think-time functions suspend processing either until the user has taken some action (such as clicking a button in a message box), or until an external process has run to completion.

People Tools Interview Questions # 19) In which events error & warning are used most extensively.

Answer # Field edit, Save edit, Search save, row delete, row insert

People Tools Interview Questions # 20) Is there any way by which you can find out whether the user is in Add mode or Update mode?

Answer # %mode—returns A—for Add mode. Returns U –for Update mode.

People Tools Peoplesoft Interview Questions

People Tools Interview Questions # 21) What is the purpose of the SQLEXEC function? What are its benefits and draw backs?

Answer # SQLEXEC is used to execute the sql statements(select,insert,update,delete). We can get only one row at a time.

People Tools Interview Questions # 22) How is the searchinit event most often used by people soft application?

Answer # Searchinit fires before the search dialogue page is displayed to the end user.For this reason searchinit is often used to enhance roll level security by inserting and graying out certain values to the search dialogue page.

People Tools Interview Questions # 23) What are the options for using SQL in people code?

Answer #
a) sqlexec
b) Record class methods (selectbykey,delete,insert,update)
c) Using sql class, its properties and methods.

People Tools Interview Questions # 24) What is the difference between component buffer and data buffer?

Answer # Component buffer contains all the data of the active component. Data buffer contains the data other than the data in the component buffer (Data of other records)

People Tools Interview Questions # 25) What databuffer classes are available in people code?

Answer # Rowset, Row, Record, Field, Array, File, Sql, chart, grid and so on.

People Tools Interview Questions # 26) When we select a component what events will be fired?

Answer # If default mode for component is search mode: only searchinit will fired.
If default mode for component is new mode :field default, field formula, rowinit, searchinit.

People Tools Interview Questions # 27) What are different variables in people code and their Scope?

Answer # System variables and User defined variables. Scope —Global, Component, Local.

People Tools Interview Questions # 28) What is default processing?

Answer # In default processing, any blank fields in the component are set to their default value. You can specify the default value either in the Record Field Properties, or
in FieldDefault PeopleCode

People Tools Interview Questions # 29) What is difference between field default and Row init?

Answer # Field default specifies only the default value for a field when we are in Add mode. Row init fires only when a row of data coming from database to component buffer

People Tools Interview Questions # 30) What is difference between saveprechange and savepostchange?

Answer # Saveprechange—last event that executes before updating the data from component buffer to the database.

Savepostchange –fires after the updation of data in the database.

45 People Tools Peoplesoft Interview Questions And Answers

PeopleTools Interview Questions # 31) Which function directly interacts with the database?

Answer # SQLEXEC — function directly interacts with the database.

PeopleTools Interview Questions # 32) What is Getlevel0()? What is the use of %subrec and %selectall functions?

Answer # Getlevel0()—used the get the rowset of the level0.
%subrec–is used only in Dynamic View SQL where it expands to the columns of a subrecord:
%selectall–%SelectAll is shorthand for selecting all fields in the specified record, wrapping date/time fields with %DateOut, %TimeOut.

People Tools Interview Questions # 33) What is an array in people code? What is maximum dimension of an array?

Answer # An array is a collection of data storage locations, each of which holds the same type of data.
The maximum depth of a PeopleCode array is 15 dimensions.

PeopleTools Interview Questions # 34) Which function inserts values into an array? What is “pop”?

Answer # Push and unshift are the functions of the array used to add the elements into the array one from the end of the array and one from the beginning.
Pop is a function of array used to select and delete an element from the end of the array.

PeopleTools Interview Questions # 35) What is difference between Getrowset and Createrowset in people code?

Answer # Getrowset –is used to get rowset for a record in the component buffer.
Createrowset—is used to create rowset for a record which in database, and is also called a Standalone rowset

PeopleTools Interview Questions # 36) Can you save the component programmatically?

Answer # Using Dosave and Dosavenow functions.

PeopleTools Interview Questions # 37) What is differed processing and its advantages?

Answer # Postpones some user actions to reduce the number of trips to the database so that increases the performance (in system edits, field edit, and field change).

1) Reduces the network traffic.
2) Increases the performance.

PeopleTools Interview Questions # 38) Write the syntax to access third level record field using object oriented peoplecode?

Answer # &fld=Getlevel0()(1).GetRowset(Record.<level1 record>.GetRow(1),
GetRowset(Record.<level3 record>).GetRow(1),
GetRecord(Record.<level3 record>).GetFieild(Field.<field name>))

PeopleTools Interview Questions # 39) What are the built-functions used to control translate values dynamically?

Answer # Adddropdownitem()

PeopleTools Interview Questions # 40) How to populate data into grid in online?

Answer # &Rs.Select or Scrollselect().

SECURITY – Before accessing a people soft application what levels of security must be passed through.

  •  Field level security
  • Row level security
  •  Maintain security
  • Definition security
  •  Portal security

PeopleTools Interview Questions # 41) What is the use of primary permission list in user profile?

Answer # Primary permission list is used for mass change and definition security purposes

PeopleTools Interview Questions # 42) How to authorize the user to run a process or report?

Answer # To authorize a user to run a process, the process group which contains the process or report should be added to the permission list of that user.

PeopleTools Interview Questions # 43) How to give access to the records that are to be used in a query?

Answer # To give access to the records that are to be used in query, we have create a new query security tree and add the records which we want to give the access and then
assign a access group to the tree. After that we have to add that query tree and query access group to the permission list.

PeopleTools Interview Questions # 44) What are the rules used by the system to determine whether a user is authorized to update an object?

Answer # The user should have the permission to update the object. This is given by the Definition security. The group which holds the object should be added to the permission list of the user in update mode.

PeopleTools Interview Questions # 45) What are the different ways we can set up the portal security to access component in portal?

Answer #

  1.  Structure & content
  2.  Menu import
  3.  Register component


  1. Peoplesoft Technical Interview Questions
  2. 199 Peoplesoft Interview Questions
  3. 200 Blue Prism Interview Questions
  4. Visualforce Interview Questions
  5. Salesforce Interview Questions
  6. 300 SSIS Interview Questions
  7. PHP Interview Questions And Answers
  8. Alteryx Interview Questions
  9. AWS Cloud Support Interview Questions
  10. Google Kubernetes Engine Interview Questions
  11. AWS Devops Interview Questions
  12. Apigee Interview Questions
  13. Actimize Interview Questions
  14. Kibana Interview Questions
  15. Nagios Interview Questions
  16. Jenkins Interview Questions
  17. Chef Interview Questions
  18. Puppet Interview Questions
  19. DB2 Interview Questions
  20. AnthillPro Interview Questions
  21. Angular 2 Interview Questions
  22. Hibernate Interview Questions
  23. ASP.NET Interview Questions
  24. Kubernetes Interview Questions
  25. Docker Interview Questions
  26. CEH Interview Questions
  27. CyberArk Interview Questions
  28. Appian Interview Questions
  29. Drools Interview Questions
  30. Talend Interview Questions