These questions/tests include problem solving, knowledge testing and others. I took these from various sites. Hope you like and if you have any other tests, write them to comments for others to know!
1. What is programming ?
Programming is the process of creating a set of instructions that tell a computer how to perform a task.
Programming is a hands-on technical skill that involves designing, creating, and refining code to solve problems, build applications, and more.
Programming is the process of writing instructions for a computer in the form of code. Developers write the code in a programming language, and it is then translated into a notation the computer can understand so that it can perform some task.
2. Give some exmaples for statements
A statement is a single line of code that performs a specific task.
Answer:
- if, elif (else if), else
- for
- while
- switch (not in python)
3. Give some exmaples for operators
An operator is a symbol that usually represents an action or process. These symbols were adapted from mathematics and logic. An operator is capable of manipulating a certain value or operand.
Answer:
- +, -, *, /
- ==, !=, >, <, >=, <=
- && (and), || (or), ! (not)
4. What is an Array?
An array is commonly referred to as a collection of items stored at contiguous memory locations.
5. What is LIFO and FIFO:?
LIFO is an abbreviation for Last In First Out. It is a way of accessing, storing and retrieving data. It extracts the data that was stored last first.
FIFO stands for First In First Out. It is a way of accessing, storing and retrieving data. The data that was stored first is extracted first.
A little tip
In an interview, you often need to talk. Speak every thought in your mind. If you think you have chosen a bad language, the interviewer will not care which language you use. They are looking for your problem solving and programming knowledge.
Top comments (0)