FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What 2 shapes together would be closest as an abstraction of a tennis racket?
A
Square and Triangle
B
Square and Circle
C
Rectangle and Circle
D
Triangle
Explanation: 

Detailed explanation-1: -Object-oriented programming (OOP) is a software development paradigm which encourages sculpting desired entities with properties and methods in named classes to create applications. OOP relies on two major concepts: the class and the object-these foundational concepts applied in code enable us to build applications.

Detailed explanation-2: -Imperative programming paradigm You give the computer little orders to do and it does them one at a time and reports back. The paradigm consists of several statements, and after the execution of all of them, the result is stored. It’s about writing a list of instructions to tell the computer what to do step by step.

Detailed explanation-3: -Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects", which can contain data and code. The data is in the form of fields (often known as attributes or properties), and the code is in the form of procedures (often known as methods).

Detailed explanation-4: -The main difference between structured and object oriented programming is: The structured programming allows developing a program using a set of modules or functions. while the object oriented programming allows constructing a program using a set of objects and their interactions.

There is 1 question to complete.