. What is a program? Classify and explain programming languages?
Answers
Programming languages are basically classified into two main categories – Low level language and High level language. However, there also exists another category known as Middle level language.
Explanation:
TOPIC:-
ᴄᴏᴍᴘᴜᴛᴇʀ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ
DEFINITION:-
ᴀ ᴄᴏᴍᴘᴜᴛᴇʀ ᴏʀ ᴀ sʏsᴛᴇᴍ ɪs ᴏᴘᴇʀᴀᴛᴇᴅ ʙʏ ɢɪᴠᴇɴ ᴀ sᴇᴛ ᴏғ ʀᴜʟᴇs ᴀɴᴅ ɪɴsᴛʀᴜᴄᴛɪᴏɴ ᴛᴏ ᴘᴇʀғᴏʀᴍ sᴏᴍᴇ ᴛᴀsᴋ. ᴛʜᴇsᴇ sᴀᴛ ᴏғ ʀᴜʟᴇs ᴀɴᴅ ɪɴsᴛʀᴜᴄᴛɪᴏɴs ᴀʀᴇ ᴀʙʟᴇ ᴛᴏ ᴄᴏɴᴛʀᴏʟ ᴛʜᴇ ᴡᴏʀᴋɪɴɢ ᴏғ ᴄᴏᴍᴘᴜᴛᴇʀ ᴏʀ ᴀɴʏ ᴀᴜᴛᴏᴍᴀᴛᴇᴅ ᴀɴᴅ/ᴏʀ ᴍᴀɴɪᴘᴜʟᴀᴛᴇᴅ ᴍᴀᴄʜɪɴᴇ.
CLASSIFICATION:-
ᴀʟʟ ᴛʜᴇ ᴄᴏᴍᴘᴜᴛᴇʀ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇs ᴀʀᴇ ʙʀᴏᴀᴅʟʏ ᴄʟᴀssɪғɪᴇᴅ ɪɴᴛᴏ ᴛʜᴇ ғᴏʟʟᴏᴡɪɴɢ;
➡️ᴍᴀᴄʜɪɴᴇ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ
➡️ᴀssᴇᴍʙʟʏ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ
➡️ʜɪɢʜ-ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ
EXPLANATION:-
- ᴍᴀᴄʜɪɴᴇ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ
ɪᴛ’s ᴛʜᴇ ʟᴏᴡᴇsᴛ ʟᴇᴠᴇʟ ᴀɴᴅ ɴᴀᴍᴇᴅ ᴀs ғɪʀsᴛ ɢᴇɴᴇʀᴀᴛɪᴏɴ ᴏғ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇ. ᴍᴀᴄʜɪɴᴇ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ ᴄᴏɴsɪsᴛ ᴏɴʟʏ ᴛᴡᴏ ᴄᴏɴᴅɪᴛɪᴏɴ ɪ.ᴇ. ᴇɪᴛʜᴇʀ ᴛʀᴜᴇ (1) ᴏʀ ғᴀʟsᴇ (0); ᴛʜɪs ᴛʏᴘᴇ ᴏғ ʟᴀɴɢᴜᴀɢᴇ ᴋɴᴏᴡɴ ᴀs ʙɪɴᴀʀʏ ʟᴀɴɢᴜᴀɢᴇ.
- ᴀsseᴍʙʟʏ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ
ᴛ’s ᴀ ᴍɪᴅᴅʟᴇ ʟᴇᴠᴇʟ ᴀɴᴅ ɴᴀᴍᴇᴅ ᴀs sᴇᴄᴏɴᴅ ɢᴇɴᴇʀᴀᴛɪᴏɴ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇ. ɪᴛ ᴄᴏɴᴛᴀɪɴs ᴛʜᴇ sᴀᴍᴇ ɪɴsᴛʀᴜᴄᴛɪᴏɴ ᴀs ᴍᴀᴄʜɪɴᴇ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ, ʙᴜᴛ ᴛʜᴇ ɪɴsᴛʀᴜᴄᴛɪᴏɴs ᴀɴᴅ ᴛʜᴇ ᴠᴀʀɪᴀʙʟᴇs ʜᴀᴠᴇ sᴘᴇᴄɪғɪᴄ ɴᴀᴍᴇ ᴏʀ ᴄᴀʟʟᴇᴅ ᴄᴏᴍᴍᴀɴᴅs ɪɴsᴛᴇᴀᴅ ᴏғ ʙᴇɪɴɢ ᴊᴜsᴛ ʙɪɴᴀʀʏ ɴᴜᴍʙᴇʀs.
- ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ
ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ ɪs ᴛʜᴇ ᴜᴘᴘᴇʀ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ ᴀɴᴅ ᴀʟsᴏ ᴋɴᴏᴡɴ ᴀs ᴛʜɪʀᴅ ɢᴇɴᴇʀᴀᴛɪᴏɴ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇ. ɪᴛ ᴅᴏᴇs ᴄᴏɴsɪᴅᴇʀ ᴀs ʜɪɢʜ ʟᴇᴠᴇʟ ʙᴇᴄᴀᴜsᴇ, ᴡʜɪᴄʜ ʟᴀɴɢᴜᴀɢᴇ ᴄᴏᴍᴇs ᴜɴᴅᴇʀ ᴛʜɪs ᴄᴀᴛᴇɢᴏʀʏ ᴀʀᴇ ᴄʟᴏsᴇʀ ᴛᴏ ʜᴜᴍᴀɴ ʟᴀɴɢᴜᴀɢᴇs.