What is computer programming?
Computer programming is the process of writing code to facilitate specific actions in a computer, application or software program, and instructs them on how to perform
Name the most popular programming languages (10 points for each)
Python, Java, JS, C++, C#, C, TypeScript, PHP, Perl, Ruby
What are the basic principles of OOP?
Abstraction, Encapsulation, Inheritance, Polymorphism
What are the certain things a machine or computer program must be capable of to be considered AI?
First, it should be able to mimic human thought process and behavior. Second, it should act in a human-like way - intelligent, rational, and ethical.
What is a computer program?
Computer program is a sequence or set of instructions in a programming language for a computer to execute.
What is the main idea of programming languages?
Computers do not understand human language, so people use programming languages to translate directions into binary code that devices can follow as apps, websites, and software programs. A person will write code faster and more efficient using a programming language, while programming languages are more understandable than binary code.
Define what a class is
Compare ML, AI and DL in terms of the volume of the concept
AI is the broadest of these concepts. It includes both ML and DL.
The next most voluminous concept is ML. It only includes DL, but it itself is included in AI.
The last concept in the list is DL. It is included in ML and AI.
Define the following terms (50 for each):
Instruction, Sequence, Self-contained, Statement, Syntax, Programming language
Instruction is a single operation of a processor.
Sequance is the order in which the statements are executed.
Self-contained is having everything that is needed and vitally important within itself.
Statement is a single line of code that performs a specific task.
Syntax is the set of rules that defines the combinations of symbols.
Programming language is a system of notation for writing computer programs.
What are the differences between the low-level and high-level programming languages?
The primary difference between low and high-level languages is that any programmer can understand, compile, and interpret a high-level language mostly the same as compared to the machine.
What does Inheritance help to avoid and how?
It helps to avoid the repetitive coding work by extending the existing code functionality.
What are the differences between ML and DL?
Machine Learning means computers learning from data using algorithms to perform a task without being explicitly programmed. Deep Learning uses a complex structure of algorithms modeled on the human brain.
Define the syntax, logic and runtime errors
Runtime error occurs when a program is executed and can result from instructions that the computer can't execute
Syntax error occurs when an instruction doesn't follow the grammar of the programming language
Logic error is a type of runtime error in the coherence and design of program. It can be caused by an inadequate definition of the problem or an incorrect formula for a calculation
Name the most popular paradigms and define them (100 points for each)
Procedural - it is built around the idea that programs are sequences of instructions to be executed.
Functional - it employs fucntions as the main driving force behind the development.
Logical - it has its foundation in math logic so program statements express facts and rules about problems within a system.
Object-Oriented - it formulates programs as a series of objects and methods that interact to perform a specific task.
What do Abstraction and Encapsulation have in common?
Abstraction is just like the extension of Encapsulation as it can hide some properties and methods from being shared with outer code for making the interface of the object easy to understand.
Define what AI, ML and DL are
AI is a branch of computer science concerned with building smart machines capable of performing tasks typically require human intelligence.
ML is a branch of artificial intelligence based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention.
DL is a subset of machine learning with the constant focus on achieving greater flexibility by contemplating the whole world as a hierarchy of concepts.