Assignment #2: Comparing Languages

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare
  1. Diff between Compiled Language Vs Interpreted Language Vs Declarative Language?

Ans:

Compiled LanguageInterpreted LanguageDeclarative Language
-translators that generate machine code from source code-step-by-step executors of source code, where no pre-runtime translation takes place-a program specifies what is to be done rather than how to do it

2. Example of Declarative Lang?

SQL and Prolog etc.

3. Pros and Cons of Declarative Lang?

ProsCons
Short, efficient codeSometimes hard to understand for external people
Can be implemented using methods not yet known at the time of programmingBased on an unfamiliar conceptual model for people (solution state)